src/Scaffolder/Compilers/AngularJs/IndexModuleCompiler.php 1 location
|
@@ 19-25 (lines=7) @@
|
16 |
|
protected $stubResource ; |
17 |
|
|
18 |
|
|
19 |
|
public function __construct($scaffolderConfig, $modelData = null) |
20 |
|
{ |
21 |
|
$this->stubsDirectory = __DIR__ . '/../../../../stubs/AngularJs/'; |
22 |
|
parent::__construct($scaffolderConfig, null); |
23 |
|
|
24 |
|
$this->stubResource = File::get($this->stubsDirectory . $this->stubResourceFilename ); |
25 |
|
} |
26 |
|
|
27 |
|
/** |
28 |
|
* Replace and store the Stub. |
src/Scaffolder/Compilers/Core/RouteCompiler.php 1 location
|
@@ 19-25 (lines=7) @@
|
16 |
|
protected $stubResource ; |
17 |
|
|
18 |
|
|
19 |
|
public function __construct($scaffolderConfig, $modelData = null) |
20 |
|
{ |
21 |
|
$this->stubsDirectory = __DIR__ . '/../../../../stubs/Api/'; |
22 |
|
parent::__construct($scaffolderConfig, null); |
23 |
|
|
24 |
|
$this->stubResource = File::get($this->stubsDirectory . $this->stubResourceFilename ); |
25 |
|
} |
26 |
|
|
27 |
|
/** |
28 |
|
* Replace and store the Stub. |