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 +--------------------------------------------------------------------+
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
20 namespace Civi\Api4\Event
;
22 use Civi\Api4\Service\Schema\SchemaMap
;
23 use Symfony\Component\EventDispatcher\Event
as BaseEvent
;
25 class SchemaMapBuildEvent
extends BaseEvent
{
27 * @var \Civi\Api4\Service\Schema\SchemaMap
32 * @param \Civi\Api4\Service\Schema\SchemaMap $schemaMap
34 public function __construct(SchemaMap
$schemaMap) {
35 $this->schemaMap
= $schemaMap;
39 * @return \Civi\Api4\Service\Schema\SchemaMap
41 public function getSchemaMap() {
42 return $this->schemaMap
;
46 * @param \Civi\Api4\Service\Schema\SchemaMap $schemaMap
50 public function setSchemaMap($schemaMap) {
51 $this->schemaMap
= $schemaMap;