4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
13 namespace Civi\Api4\Event
;
15 use Civi\Api4\Service\Schema\SchemaMap
;
16 use Symfony\Component\EventDispatcher\Event
as BaseEvent
;
18 class SchemaMapBuildEvent
extends BaseEvent
{
20 * @var \Civi\Api4\Service\Schema\SchemaMap
25 * @param \Civi\Api4\Service\Schema\SchemaMap $schemaMap
27 public function __construct(SchemaMap
$schemaMap) {
28 $this->schemaMap
= $schemaMap;
32 * @return \Civi\Api4\Service\Schema\SchemaMap
34 public function getSchemaMap() {
35 return $this->schemaMap
;
39 * @param \Civi\Api4\Service\Schema\SchemaMap $schemaMap
43 public function setSchemaMap($schemaMap) {
44 $this->schemaMap
= $schemaMap;