PHP Class InfyOm\Generator\Generators\ModelGenerator

Exibir arquivo Open project: infyomlabs/laravel-generator Class Usage Examples

Public Methods

Method Description
__construct ( CommandData $commandData )
generate ( )
generateCasts ( )
generateSwagger ( $templateData )
rollback ( )

Private Methods

Method Description
fillDocs ( $templateData )
fillSoftDeletes ( $templateData )
fillTemplate ( $templateData )
fillTimestamps ( $templateData )
generateRequiredFields ( )
generateRules ( )

Method Details

__construct() public method

public __construct ( CommandData $commandData )
$commandData InfyOm\Generator\Common\CommandData

generate() public method

public generate ( )

generateCasts() public method

public generateCasts ( )

generateSwagger() public method

public generateSwagger ( $templateData )

rollback() public method

public rollback ( )