| Total Complexity | 12 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CommandData |
||
| 10 | { |
||
| 11 | public function __construct( |
||
| 12 | /** |
||
| 13 | * @var \Mostafaznv\LaraCache\Traits\LaraCache[] $models |
||
| 14 | */ |
||
| 15 | public array $models, |
||
| 16 | public array $entities |
||
| 17 | ) {} |
||
| 18 | |||
| 19 | public static function make(array $models, array $entities = []): self |
||
| 32 | } |
||
| 33 | |||
| 34 | |||
| 35 | private static function model(?string $model): string |
||
| 52 | } |
||
| 53 | |||
| 54 | private static function modelExists(string $model): bool |
||
| 67 |