Source of file HasSchemaServiceTrait.php
Size: 0,720 Bytes - Last Modified: 2021-12-24T06:51:36+00:00
/var/www/docs.ssmods.com/process/src/src/Traits/HasSchemaServiceTrait.php
12345678910111213141516171819202122232425262728293031323334 | <?php namespace Heystack\Core\Traits; use Heystack\Core\DataObjectSchema\SchemaService; /** * Allows a using class to set a schema service * @package Heystack\Core\Traits */ trait HasSchemaServiceTrait { /** * @var \Heystack\Core\DataObjectSchema\SchemaService */ protected $schemaService; /** * @param \Heystack\Core\DataObjectSchema\SchemaService $schemaService * @return void */ public function setSchemaService(SchemaService $schemaService) { $this->schemaService = $schemaService; } /** * @return \Heystack\Core\DataObjectSchema\SchemaService */ public function getSchemaService() { return $this->schemaService; } } |