parent
e8c0e97bb3
commit
d4de7c0519
|
@ -33,6 +33,7 @@ class Loader
|
|||
* @param string $namespace
|
||||
* @param string $directory
|
||||
*
|
||||
* @return $this
|
||||
* @throws ProgrammingError
|
||||
*/
|
||||
public function registerNamespace($namespace, $directory)
|
||||
|
@ -46,6 +47,8 @@ class Loader
|
|||
}
|
||||
|
||||
$this->namespaces[$namespace] = $directory;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue