Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Blueprint |
||
10 | { |
||
11 | protected $contents; |
||
12 | |||
13 | public static function make(string $filename) |
||
14 | { |
||
15 | $instance = new self($filename); |
||
16 | |||
17 | return (new Lexer())->analyze($instance->contents['models'] ?? []); |
||
18 | } |
||
19 | |||
20 | public function __construct(string $file) |
||
28 | } |
||
29 | |||
30 | protected function setConfig() |
||
36 |