Class RouteCompiler
-
Scaffolder\Compilers\AbstractCompiler
-
Scaffolder\Compilers\AbstractCoreCompiler
-
Scaffolder\Compilers\Core\RouteCompiler
Methods summary
public
string
|
#
compile( $stub, $modelName, $modelData, stdClass $scaffolderConfig, $hash, array $extensions, null $extra = null )
Compiles a route.
Parameters
- $stub
- $modelName
- $modelData
- $scaffolderConfig
- $hash
- $extensions
- $extra
Returns
string
|
public
string
|
#
compileGroup( $stub, $compiledRoutes, stdClass $scaffolderConfig )
Compiles a group of routes.
Compiles a group of routes.
Parameters
- $stub
- $compiledRoutes
- $scaffolderConfig
Returns
string
|
protected
mixed|
|
#
store( $modelName, stdClass $scaffolderConfig, $compiled, Scaffolder\Support\FileToCompile $fileToCompile )
Store the compiled stub.
Parameters
- $modelName
- $scaffolderConfig
- $compiled
- $fileToCompile
Returns
mixed|
|
protected
|
|
protected
|
#
replaceRoutes( $compiledRoutes )
Replace compiled routes.
Parameters
Returns
$this
|