| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | public function __construct(array $registeredTypes) |
||
| 33 | { |
||
| 34 | foreach ($registeredTypes as $type => $details) { |
||
| 35 | if (is_subclass_of($details['class'], '\Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType')) { |
||
| 36 | $this->registeredEnumTypes[$type] = $details['class']; |
||
| 37 | } |
||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 46 |