Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php namespace Arcanedev\Assets\Pipes\Make; |
||
45 | protected function getStub(array $passable) |
||
46 | { |
||
47 | return Stub::make("presets/{$passable['preset']}/webpack.mix.stub") |
||
48 | ->replace( |
||
49 | [ |
||
50 | '{{asset_directory}}', |
||
51 | '{{public_directory}}', |
||
52 | '{{name}}' |
||
53 | ],[ |
||
54 | $passable['path'], |
||
55 | $passable['public-directory'], |
||
56 | $passable['name'] |
||
57 | ] |
||
58 | ); |
||
59 | } |
||
60 | } |
||
61 |