Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
17 | public function __construct(SchemaInterface $schema) |
||
18 | { |
||
19 | $route = $this->getPluralize($this->getDashCase($schema->name())); |
||
20 | $item = $this->getCamelCase($this->getSingularize($schema->name())); |
||
21 | $fkRels = $this->getFkRelations($schema->fkRelations()); |
||
22 | |||
23 | parent::__construct(\compact('route', 'item', 'fkRels')); |
||
24 | } |
||
36 |