PHP Class Baum\Generators\ModelGenerator

Inheritance: extends Generator
Datei anzeigen Open project: gazsp/baum Class Usage Examples

Public Methods

Method Description
create ( string $name, string $path ) : string Create a new model at the given path.

Protected Methods

Method Description
getPath ( string $name, string $path ) : string Get the full path name to the migration.

Method Details

create() public method

Create a new model at the given path.
public create ( string $name, string $path ) : string
$name string
$path string
return string

getPath() protected method

Get the full path name to the migration.
protected getPath ( string $name, string $path ) : string
$name string
$path string
return string