Allow access to "route" discovered by CLI Loader

This commit is contained in:
Thomas Gelf 2013-10-22 13:47:31 +00:00 committed by root
parent e4a02912fc
commit b6ee15a37f

View File

@ -103,6 +103,21 @@ class Loader
exit(1);
}
public function getModuleName()
{
return $this->moduleName;
}
public function getCommandName()
{
return $this->commandName;
}
public function getActionName()
{
return $this->actionName;
}
public function getCommandInstance($command)
{
if (! array_key_exists($command, $this->commandInstances)) {