‪TYPO3CMS  ‪main
AfterDataGeneratedForWorkspaceEvent.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 
21 
26 {
27  public function ‪__construct(
28  private readonly ‪GridDataService $gridService,
29  private array $data,
30  private array $versions
31  ) {}
32 
34  {
35  return $this->gridService;
36  }
37 
38  public function ‪getData(): array
39  {
40  return $this->data;
41  }
42 
43  public function ‪setData(array $data): void
44  {
45  $this->data = $data;
46  }
47 
48  public function ‪getVersions(): array
49  {
50  return $this->versions;
51  }
52 
53  public function ‪setVersions(array $versions): void
54  {
55  $this->versions = $versions;
56  }
57 }
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent
Definition: AfterDataGeneratedForWorkspaceEvent.php:26
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent\getVersions
‪getVersions()
Definition: AfterDataGeneratedForWorkspaceEvent.php:48
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent\getData
‪getData()
Definition: AfterDataGeneratedForWorkspaceEvent.php:38
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent\setVersions
‪setVersions(array $versions)
Definition: AfterDataGeneratedForWorkspaceEvent.php:53
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent\setData
‪setData(array $data)
Definition: AfterDataGeneratedForWorkspaceEvent.php:43
‪TYPO3\CMS\Workspaces\Event
Definition: AfterCompiledCacheableDataForWorkspaceEvent.php:18
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent\getGridService
‪getGridService()
Definition: AfterDataGeneratedForWorkspaceEvent.php:33
‪TYPO3\CMS\Workspaces\Service\GridDataService
Definition: GridDataService.php:48
‪TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent\__construct
‪__construct(private readonly GridDataService $gridService, private array $data, private array $versions)
Definition: AfterDataGeneratedForWorkspaceEvent.php:27