| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 17 | public function __construct(SchemaInterface $schema, string $action) |
||
| 18 | { |
||
| 19 | $entity = $this->getInflector()->entity($schema->name()); |
||
| 20 | $item = $this->getInflector()->item($schema->name()); |
||
| 21 | $items = $this->getInflector()->items($schema->name()); |
||
| 22 | $action = $this->getInflector()->pascalAction($action); |
||
| 23 | |||
| 24 | parent::__construct(\compact('entity', 'item', 'items', 'action')); |
||
| 25 | } |
||
| 37 |