‪TYPO3CMS  10.4
BeforeFileMovedEvent.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 
22 
28 {
32  private ‪$file;
33 
37  private ‪$folder;
38 
42  private ‪$targetFileName;
43 
45  {
46  $this->file = ‪$file;
47  $this->folder = ‪$folder;
48  $this->targetFileName = ‪$targetFileName;
49  }
50 
51  public function ‪getFile(): ‪FileInterface
52  {
54  }
55 
56  public function ‪getFolder(): ‪Folder
57  {
59  }
60 
61  public function ‪getTargetFileName(): string
62  {
64  }
65 }
‪TYPO3\CMS\Core\Resource\FileInterface
Definition: FileInterface.php:22
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\__construct
‪__construct(FileInterface $file, Folder $folder, string $targetFileName)
Definition: BeforeFileMovedEvent.php:41
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\getTargetFileName
‪getTargetFileName()
Definition: BeforeFileMovedEvent.php:58
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent
Definition: BeforeFileMovedEvent.php:28
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\$targetFileName
‪string $targetFileName
Definition: BeforeFileMovedEvent.php:39
‪TYPO3\CMS\Core\Resource\Folder
Definition: Folder.php:37
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\$file
‪FileInterface $file
Definition: BeforeFileMovedEvent.php:31
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\getFolder
‪getFolder()
Definition: BeforeFileMovedEvent.php:53
‪TYPO3\CMS\Core\Resource\Event
Definition: AfterFileAddedEvent.php:18
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\$folder
‪Folder $folder
Definition: BeforeFileMovedEvent.php:35
‪TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent\getFile
‪getFile()
Definition: BeforeFileMovedEvent.php:48