@@ -59,6 +59,9 @@ |
||
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $method |
|
| 64 | + */ |
|
| 62 | 65 | private function isMagicMethod($method) : bool |
| 63 | 66 | { |
| 64 | 67 | return \in_array($method, ['__sleep', '__wakeup', 'offsetGet', 'offsetSet', 'offsetExists', 'offsetUnset', 'count', 'ksort', 'asort', 'jsonSerialize'], true); |
@@ -22,6 +22,9 @@ |
||
| 22 | 22 | $this->router = $router; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @param string $uri |
|
| 27 | + */ |
|
| 25 | 28 | public function getReverseLink($uri) : string |
| 26 | 29 | { |
| 27 | 30 | $urlParts = parse_url($uri); |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | */ |
| 7 | 7 | namespace BEAR\Package; |
| 8 | 8 | |
| 9 | -use BEAR\Accept\Module\App; |
|
| 10 | 9 | use BEAR\AppMeta\AbstractAppMeta; |
| 11 | 10 | use BEAR\AppMeta\Meta; |
| 12 | 11 | use Doctrine\Common\Cache\FilesystemCache; |