mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-25 06:48:39 +00:00
Reformatting and new directory (capitalization)
This commit is contained in:
parent
70e6c58109
commit
450e296bd3
|
|
@ -121,12 +121,18 @@ class Navigation
|
|||
*
|
||||
* @return \Modules\Navigation\Models\Navigation
|
||||
*
|
||||
* @throws \Exception
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public static function getInstance(RequestAbstract $request = null, Pool $dbPool = null)
|
||||
{
|
||||
if (!isset(self::$instance)) {
|
||||
if(!isset($request) || !isset($dbPool)) {
|
||||
throw new \Exception('Invalid parameters');
|
||||
}
|
||||
|
||||
self::$instance = new self($request, $dbPool);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user