Class MigrationCompiler
-
Scaffolder\Compilers\AbstractCompiler
-
Scaffolder\Compilers\AbstractCoreCompiler
-
Scaffolder\Compilers\Core\MigrationCompiler
Methods summary
public
|
#
__construct( )
Create a new migration compiler instance.
Create a new migration compiler instance.
|
public
string
|
#
compile( $stub, $modelName, $modelData, stdClass $scaffolderConfig, $hash, array $extensions, null $extra = null )
Compiles a migration.
Parameters
- $stub
- $modelName
- $modelData
- $scaffolderConfig
- $hash
- $extensions
- $extra
Returns
string
|
protected
string
|
#
store( $modelName, stdClass $scaffolderConfig, $compiled, Scaffolder\Support\FileToCompile $fileToCompile )
Store the compiled stub.
Parameters
- $modelName
- $scaffolderConfig
- $compiled
- $fileToCompile
Returns
string
|