| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | public function __construct(string $name, string $type, bool $required) |
||
| 17 | { |
||
| 18 | $name = $this->getInflector()->camelProperty($name); |
||
| 19 | $setter = $this->getInflector()->pascalProperty($name); |
||
| 20 | $type = $this->getInflector()->entity($type); |
||
| 21 | $typeName = $this->getInflector()->camelProperty($type); |
||
| 22 | |||
| 23 | parent::__construct(\compact('name', 'setter', 'type', 'typeName', 'required')); |
||
| 24 | } |
||
| 36 |