mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +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);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getModuleName()
|
||||||
|
{
|
||||||
|
return $this->moduleName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCommandName()
|
||||||
|
{
|
||||||
|
return $this->commandName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getActionName()
|
||||||
|
{
|
||||||
|
return $this->actionName;
|
||||||
|
}
|
||||||
|
|
||||||
public function getCommandInstance($command)
|
public function getCommandInstance($command)
|
||||||
{
|
{
|
||||||
if (! array_key_exists($command, $this->commandInstances)) {
|
if (! array_key_exists($command, $this->commandInstances)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user