mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Module: add getNamespace() method
This commit is contained in:
parent
997c5a0a13
commit
b7189382fb
@ -590,6 +590,16 @@ class Module
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the module namespace
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNamespace()
|
||||
{
|
||||
return 'Icinga\\Module\\' . ucfirst($this->getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the module version
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user