‪TYPO3CMS  11.5
BeforeRedirectEvent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
20 use Psr\Http\Message\ServerRequestInterface;
21 
28 {
32  private ‪$loginType;
33 
37  private ‪$redirectUrl;
38 
42  private ‪$request;
43 
44  public function ‪__construct(string ‪$loginType, string ‪$redirectUrl, ‪$request)
45  {
46  $this->loginType = ‪$loginType;
47  $this->redirectUrl = ‪$redirectUrl;
48  $this->request = ‪$request;
49  }
50 
51  public function ‪getLoginType(): string
52  {
54  }
55 
56  public function ‪getRedirectUrl(): string
57  {
59  }
60 
61  public function ‪setRedirectUrl(string ‪$redirectUrl): void
62  {
63  $this->redirectUrl = ‪$redirectUrl;
64  }
65 
66  public function ‪getRequest()
67  {
68  return ‪$this->request;
69  }
70 }
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\getRedirectUrl
‪getRedirectUrl()
Definition: BeforeRedirectEvent.php:53
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\__construct
‪__construct(string $loginType, string $redirectUrl, $request)
Definition: BeforeRedirectEvent.php:41
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\getLoginType
‪getLoginType()
Definition: BeforeRedirectEvent.php:48
‪TYPO3\CMS\FrontendLogin\Event
Definition: AbstractConfirmedEvent.php:18
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\$request
‪ServerRequestInterface $request
Definition: BeforeRedirectEvent.php:39
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\$loginType
‪string $loginType
Definition: BeforeRedirectEvent.php:31
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\$redirectUrl
‪string $redirectUrl
Definition: BeforeRedirectEvent.php:35
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent
Definition: BeforeRedirectEvent.php:28
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\getRequest
‪getRequest()
Definition: BeforeRedirectEvent.php:63
‪TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent\setRedirectUrl
‪setRedirectUrl(string $redirectUrl)
Definition: BeforeRedirectEvent.php:58