| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function __construct(string $entity) |
||
| 25 | { |
||
| 26 | $this->entity = ConfigHelper::getNestedParam(ConfigInterface::CUSTOM_SQL, MigrationsHelper::getTableName($entity)); |
||
| 27 | if (empty($this->entity[ConfigInterface::ENABLED]) === false) { |
||
| 28 | $this->isEnabled = $this->entity[ConfigInterface::ENABLED]; |
||
| 29 | } |
||
| 61 | } |