FileGenerator
class FileGenerator (View source)
Constants
| COMMANDS_NAMESPACE |
|
| CONTROLLERS_NAMESPACE |
|
| PARSE_MAX_DEPTH |
|
| PARSE_MAX_INCLUDES |
|
Methods
__construct()
Create a FileGenerator instance
string
command(string $name, string $fileTemplate = 'command')
Create command class from file template
string
controller(string $name, string $fileTemplate = 'controller')
Create controller class from file template
string
view(string $name, string $fileTemplate = 'view')
Create view from file template
Details
__construct()
Create a FileGenerator instance
string
command(string $name, string $fileTemplate = 'command')
Create command class from file template
string
controller(string $name, string $fileTemplate = 'controller')
Create controller class from file template
string
view(string $name, string $fileTemplate = 'view')
Create view from file template