mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Allow access to "route" discovered by CLI Loader
This commit is contained in:
parent
e4a02912fc
commit
b6ee15a37f
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user