mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
e8c0e97bb3
commit
d4de7c0519
@ -33,6 +33,7 @@ class Loader
|
|||||||
* @param string $namespace
|
* @param string $namespace
|
||||||
* @param string $directory
|
* @param string $directory
|
||||||
*
|
*
|
||||||
|
* @return $this
|
||||||
* @throws ProgrammingError
|
* @throws ProgrammingError
|
||||||
*/
|
*/
|
||||||
public function registerNamespace($namespace, $directory)
|
public function registerNamespace($namespace, $directory)
|
||||||
@ -46,6 +47,8 @@ class Loader
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->namespaces[$namespace] = $directory;
|
$this->namespaces[$namespace] = $directory;
|
||||||
|
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user