‪TYPO3CMS  ‪main
AfterRecordPublishedEvent.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 
23 final readonly class ‪AfterRecordPublishedEvent
24 {
25  public function ‪__construct(
26  private string $table,
27  private int $recordId,
28  private int $workspaceId,
29  ) {}
30 
34  public function ‪getTable(): string
35  {
36  return $this->table;
37  }
38 
42  public function ‪getRecordId(): int
43  {
44  return $this->recordId;
45  }
46 
50  public function ‪getWorkspaceId(): int
51  {
52  return $this->workspaceId;
53  }
54 }
‪TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent
Definition: AfterRecordPublishedEvent.php:24
‪TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent\getRecordId
‪getRecordId()
Definition: AfterRecordPublishedEvent.php:42
‪TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent\__construct
‪__construct(private string $table, private int $recordId, private int $workspaceId,)
Definition: AfterRecordPublishedEvent.php:25
‪TYPO3\CMS\Workspaces\Event
Definition: AfterCompiledCacheableDataForWorkspaceEvent.php:18
‪TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent\getWorkspaceId
‪getWorkspaceId()
Definition: AfterRecordPublishedEvent.php:50
‪TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent\getTable
‪getTable()
Definition: AfterRecordPublishedEvent.php:34