@@ 57-65 (lines=9) @@ | ||
54 | * ManifestBuilder constructor. |
|
55 | * @throws Exception |
|
56 | */ |
|
57 | public function __construct() |
|
58 | { |
|
59 | $this->manifestReader = new ManifestReader(); |
|
60 | $this->builder = new Builder(); |
|
61 | $this->vasriConfig = config('vasri'); |
|
62 | $this->isMixManifestEnabled = $this->vasriConfig['mix-manifest']; |
|
63 | $this->isMixManifestAltEnabled = $this->vasriConfig['mix-manifest-alt']; |
|
64 | $this->mixManifestPath = public_path('mix-manifest.json'); |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Builds the basic asset list |
@@ 55-63 (lines=9) @@ | ||
52 | /** |
|
53 | * Vasri constructor. |
|
54 | */ |
|
55 | public function __construct() |
|
56 | { |
|
57 | $this->builder = new Builder(); |
|
58 | $this->manifestReader = new ManifestReader(); |
|
59 | $this->vasriConfig = config('vasri'); |
|
60 | $this->isMixManifestAltEnabled = $this->vasriConfig['mix-manifest-alt']; |
|
61 | $this->vasriManifest = $this->manifestReader->getManifest(base_path('vasri-manifest.json')); |
|
62 | $this->appEnvironment = env('APP_ENV', 'production'); |
|
63 | } |
|
64 | ||
65 | /** |
|
66 | * The Vasri helper function |