Controller
class Controller
Methods
void
load_routes()
Loads the module routes if the routes.php file exists in the module directory.
string
getDir()
Gets the directory of the current class file.
string
getClassName()
Gets the short class name of the current class.
void
copyResources(string $namespace, array $options)
Copies resources from the module to the destination.
Details
at line 11
void
load_routes()
Loads the module routes if the routes.php file exists in the module directory.
at line 23
string
getDir()
Gets the directory of the current class file.
at line 33
string
getClassName()
Gets the short class name of the current class.
at line 51
void
copyResources(string $namespace, array $options)
Copies resources from the module to the destination.