1 | <?php |
||
19 | final class UserStorageProxy implements IUserStorage |
||
20 | { |
||
21 | use SmartObject; |
||
22 | |||
23 | /** @var \Nette\Security\IUserStorage */ |
||
24 | private $userStorage; |
||
25 | |||
26 | /** @var \Doctrine\ORM\EntityManagerInterface */ |
||
27 | private $em; |
||
28 | |||
29 | /** @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface */ |
||
30 | private $eventDispatcher; |
||
31 | |||
32 | /** @var \Nette\Security\Identity|NULL|bool */ |
||
33 | private $currentIdentity = FALSE; |
||
34 | |||
35 | /** @var callable[] */ |
||
36 | public $onIdentityNotFound = []; |
||
37 | |||
38 | /** |
||
39 | * @param \Nette\Security\IUserStorage $userStorage |
||
40 | * @param \Doctrine\ORM\EntityManagerInterface $em |
||
41 | * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher |
||
42 | */ |
||
43 | public function __construct(IUserStorage $userStorage, EntityManagerInterface $em, EventDispatcherInterface $eventDispatcher) |
||
49 | |||
50 | /** |
||
51 | * For compatibility with default implementation Nette\Http\UserStorage |
||
52 | * |
||
53 | * @param string $namespace |
||
54 | * |
||
55 | * @return \SixtyEightPublishers\User\DoctrineIdentity\UserStorageProxy |
||
56 | * @throws \SixtyEightPublishers\User\DoctrineIdentity\Exception\UnimplementedMethodException |
||
57 | */ |
||
58 | public function setNamespace(string $namespace): self |
||
68 | |||
69 | /** |
||
70 | * For compatibility with default implementation Nette\Http\UserStorage |
||
71 | * |
||
72 | * @return string |
||
73 | * @throws \SixtyEightPublishers\User\DoctrineIdentity\Exception\UnimplementedMethodException |
||
74 | */ |
||
75 | public function getNamespace(): string |
||
83 | |||
84 | /************ interface \Nette\Security\IUserStorage ************/ |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function setAuthenticated($state): self |
||
95 | |||
96 | /** |
||
97 | * {@inheritdoc} |
||
98 | */ |
||
99 | public function isAuthenticated(): bool |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function setIdentity(?IIdentity $identity = NULL): self |
||
131 | |||
132 | /** |
||
133 | * {@inheritdoc} |
||
134 | */ |
||
135 | public function getIdentity(): ?IIdentity |
||
163 | |||
164 | /** |
||
165 | * {@inheritdoc} |
||
166 | */ |
||
167 | public function setExpiration($time, $flags = 0): self |
||
173 | |||
174 | /** |
||
175 | * {@inheritdoc} |
||
176 | */ |
||
177 | public function getLogoutReason(): ?int |
||
181 | } |
||
182 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.