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
22 namespace Civi\Api4\Event
;
24 use Civi\Api4\Service\Schema\SchemaMap
;
25 use Symfony\Component\EventDispatcher\Event
as BaseEvent
;
27 class SchemaMapBuildEvent
extends BaseEvent
{
29 * @var \Civi\Api4\Service\Schema\SchemaMap
34 * @param \Civi\Api4\Service\Schema\SchemaMap $schemaMap
36 public function __construct(SchemaMap
$schemaMap) {
37 $this->schemaMap
= $schemaMap;
41 * @return \Civi\Api4\Service\Schema\SchemaMap
43 public function getSchemaMap() {
44 return $this->schemaMap
;
48 * @param \Civi\Api4\Service\Schema\SchemaMap $schemaMap
52 public function setSchemaMap($schemaMap) {
53 $this->schemaMap
= $schemaMap;