mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-08 16:12:43 -04:00
Allow access to "route" discovered by CLI Loader
This commit is contained in:
parent
e4a02912fc
commit
b6ee15a37f
1 changed files with 15 additions and 0 deletions
|
|
@ -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…
Reference in a new issue