| 1 | <?php |
||
| 11 | final class AuthenticatorQueryFactory implements IAuthenticatorQueryFactory |
||
| 12 | { |
||
| 13 | use Nette\SmartObject; |
||
| 14 | |||
| 15 | /** @var \Doctrine\ORM\EntityManagerInterface */ |
||
| 16 | private $em; |
||
| 17 | |||
| 18 | /** @var \SixtyEightPublishers\User\Common\UserMapping */ |
||
| 19 | private $userMapping; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \Doctrine\ORM\EntityManagerInterface $em |
||
| 23 | * @param \SixtyEightPublishers\User\Common\UserMapping $userMapping |
||
| 24 | */ |
||
| 25 | public function __construct(Doctrine\ORM\EntityManagerInterface $em, SixtyEightPublishers\User\Common\UserMapping $userMapping) |
||
| 30 | |||
| 31 | /************* interface \Nette\Security\IAuthenticator *************/ |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function create(string $login): Doctrine\ORM\Query |
||
| 53 | } |
||
| 54 |