@@ 57-65 (lines=9) @@ | ||
54 | * |
|
55 | * @return \BFW\Request |
|
56 | */ |
|
57 | public static function getInstance() |
|
58 | { |
|
59 | if (self::$instance === null) { |
|
60 | $calledClass = get_called_class(); //Autorize extends this class |
|
61 | self::$instance = new $calledClass; |
|
62 | } |
|
63 | ||
64 | return self::$instance; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Get the client IP |
@@ 75-83 (lines=9) @@ | ||
72 | * |
|
73 | * @return \BFW\Application The current instance of this class |
|
74 | */ |
|
75 | public static function getInstance() |
|
76 | { |
|
77 | if (self::$instance === null) { |
|
78 | $calledClass = get_called_class(); //Autorize extends this class |
|
79 | self::$instance = new $calledClass; |
|
80 | } |
|
81 | ||
82 | return self::$instance; |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Getter accessor to property coreSystemList |