Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

InteractiveLoginEvent.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\MVC\Symfony\Event;
8
9 use eZ\Publish\API\Repository\Values\User\User as APIUser;
10 use Symfony\Component\Security\Http\Event\InteractiveLoginEvent as BaseInteractiveLoginEvent;
11
12 class InteractiveLoginEvent extends BaseInteractiveLoginEvent
13 {
15 private $apiUser;
16
22 public function hasAPIUser()
23 {
24 return isset($this->apiUser);
25 }
26
32 public function setApiUser(APIUser $apiUser)
33 {
34 $this->apiUser = $apiUser;
35 }
36
40 public function getAPIUser()
41 {
42 return $this->apiUser;
43 }
44 }
eZ\Publish\API\Repository\Values\User\User
Definition: Publish/API/Repository/Values/User/User.php:24
eZ\Publish\Core\MVC\Symfony\Event\InteractiveLoginEvent
Definition: InteractiveLoginEvent.php:13
eZ\Publish\Core\MVC\Symfony\Event\InteractiveLoginEvent\getAPIUser
getAPIUser()
Definition: InteractiveLoginEvent.php:40
eZ\Publish\Core\MVC\Symfony\Event\InteractiveLoginEvent\hasAPIUser
hasAPIUser()
Checks if an API user has been provided.
Definition: InteractiveLoginEvent.php:22
eZ\Publish\Core\MVC\Symfony\Event\InteractiveLoginEvent\$apiUser
$apiUser
Definition: InteractiveLoginEvent.php:15
eZ\Publish\Core\MVC\Symfony\Event\InteractiveLoginEvent\setApiUser
setApiUser(APIUser $apiUser)
Injects an API user to be injected in the repository.
Definition: InteractiveLoginEvent.php:32
eZ\Publish\Core\MVC\Symfony\Event
Definition: APIContentExceptionEvent.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.