| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 4 |
| 1 | <?php |
||
| 8 | class LaravelAdminCleaner extends BaseCleaner |
||
| 9 | { |
||
| 10 | const ADMIN_CLASS = 'Encore\Admin\Admin'; |
||
| 11 | private $reflection; |
||
| 12 | protected $properties = [ |
||
| 13 | 'deferredScript' => [], |
||
| 14 | 'script' => [], |
||
| 15 | 'style' => [], |
||
| 16 | 'css' => [], |
||
| 17 | 'js' => [], |
||
| 18 | 'html' => [], |
||
| 19 | 'headerJs' => [], |
||
| 20 | 'manifestData' => [], |
||
| 21 | 'extensions' => [], |
||
| 22 | 'menu' => [], |
||
| 23 | 'minifyIgnores' => [], |
||
| 24 | ]; |
||
| 25 | |||
| 26 | public function __construct(Container $currentApp, Container $snapshotApp) |
||
| 27 | { |
||
| 28 | parent::__construct($currentApp, $snapshotApp); |
||
| 29 | $this->reflection = new \ReflectionClass(self::ADMIN_CLASS); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function clean() |
||
| 41 | } |
||
| 42 | } |