Tiger_Generator_Module
@api
Tiger_Generator_Module — scaffolds a new application module.
Powers bin/tiger make:module <name>. Writes a self-contained, immediately-live
module under application/modules/
Templates are NOWDOC strings (no PHP-var interpolation) with {{name}}/{{Name}} placeholders, so generated code like $params/$this is emitted verbatim.
Methods
generate()
generate($name, $modulesPath)
Generate the module. Returns the list of created file paths.
$namestring— lowercase module name (a-z0-9, starts a-z)$modulesPathstring— application/modules
Returns string[]
Throws RuntimeException — on a bad name or an existing module