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); |
||
16 | public function __construct(string $pkEntity, string $fkEntity) |
||
17 | { |
||
18 | $pkEntity = $this->getPascalCase($this->getSingularize($pkEntity)); |
||
19 | $fkEntity = $this->getPascalCase($this->getSingularize($fkEntity)); |
||
20 | $item = $this->getCamelCase($this->getPluralize($fkEntity)); |
||
21 | |||
22 | parent::__construct(\compact('pkEntity', 'fkEntity', 'item')); |
||
23 | } |
||
35 |