| Total Complexity | 9 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 17 | class SchematicEntity extends AbstractEntity | ||
| 18 | { | ||
| 19 | /** @var array */ | ||
| 20 | private $schema = []; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @param array $data | ||
| 24 | * @param array $schema | ||
| 25 | */ | ||
| 26 | public function __construct(array $data, array $schema) | ||
| 27 |     { | ||
| 28 | $this->schema = $schema; | ||
| 29 | parent::__construct($data); | ||
| 30 | } | ||
| 31 | |||
| 32 | /** | ||
| 33 |      * {@inheritdoc} | ||
| 34 | */ | ||
| 35 | protected function isFillable(string $field): bool | ||
| 50 | } | ||
| 51 | |||
| 52 | /** | ||
| 53 |      * {@inheritdoc} | ||
| 54 | */ | ||
| 55 | protected function getMutator(string $field, string $mutator) | ||
| 62 | } | ||
| 63 | } | ||
| 64 |