‪TYPO3CMS  10.4
BeforeResourceStorageInitializationEvent.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 
27 {
31  private ‪$storageUid;
32 
36  private ‪$record;
37 
41  private ‪$fileIdentifier;
42 
43  public function ‪__construct(int ‪$storageUid, array ‪$record, ?string ‪$fileIdentifier)
44  {
45  $this->storageUid = ‪$storageUid;
46  $this->record = ‪$record;
47  $this->fileIdentifier = ‪$fileIdentifier;
48  }
49 
50  public function ‪getStorageUid(): int
51  {
53  }
54 
55  public function ‪setStorageUid(int ‪$storageUid): void
56  {
57  $this->storageUid = ‪$storageUid;
58  }
59 
60  public function ‪getRecord(): array
61  {
63  }
64 
65  public function ‪setRecord(array ‪$record): void
66  {
67  $this->record = ‪$record;
68  }
69 
70  public function ‪getFileIdentifier(): ?string
71  {
73  }
74 
75  public function ‪setFileIdentifier(?string ‪$fileIdentifier): void
76  {
77  $this->fileIdentifier = ‪$fileIdentifier;
78  }
79 }
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\getStorageUid
‪getStorageUid()
Definition: BeforeResourceStorageInitializationEvent.php:47
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\$record
‪array $record
Definition: BeforeResourceStorageInitializationEvent.php:34
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\$storageUid
‪int $storageUid
Definition: BeforeResourceStorageInitializationEvent.php:30
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\getFileIdentifier
‪getFileIdentifier()
Definition: BeforeResourceStorageInitializationEvent.php:67
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\$fileIdentifier
‪string null $fileIdentifier
Definition: BeforeResourceStorageInitializationEvent.php:38
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\setStorageUid
‪setStorageUid(int $storageUid)
Definition: BeforeResourceStorageInitializationEvent.php:52
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\setFileIdentifier
‪setFileIdentifier(?string $fileIdentifier)
Definition: BeforeResourceStorageInitializationEvent.php:72
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\setRecord
‪setRecord(array $record)
Definition: BeforeResourceStorageInitializationEvent.php:62
‪TYPO3\CMS\Core\Resource\Event
Definition: AfterFileAddedEvent.php:18
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent
Definition: BeforeResourceStorageInitializationEvent.php:27
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\getRecord
‪getRecord()
Definition: BeforeResourceStorageInitializationEvent.php:57
‪TYPO3\CMS\Core\Resource\Event\BeforeResourceStorageInitializationEvent\__construct
‪__construct(int $storageUid, array $record, ?string $fileIdentifier)
Definition: BeforeResourceStorageInitializationEvent.php:40