@@ 67-69 (lines=3) @@ | ||
64 | } |
|
65 | ||
66 | // limitation of count object instances |
|
67 | if (!isset(self::$instances[static::class][$method])) { |
|
68 | self::$instances[static::class][$method] = new static($value); |
|
69 | } |
|
70 | ||
71 | return self::$instances[static::class][$method]; |
|
72 | } |
|
@@ 255-257 (lines=3) @@ | ||
252 | */ |
|
253 | public static function __callStatic($method, array $arguments = []) |
|
254 | { |
|
255 | if (isset(self::$instances[static::class][$method])) { |
|
256 | return self::$instances[static::class][$method]; |
|
257 | } |
|
258 | ||
259 | self::detectConstants(static::class); |
|
260 |