-
Notifications
You must be signed in to change notification settings - Fork 13
/
UnassignContentTypeGroupEvent.php
40 lines (32 loc) · 1.16 KB
/
UnassignContentTypeGroupEvent.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);
namespace Ibexa\Contracts\Core\Repository\Events\ContentType;
use Ibexa\Contracts\Core\Repository\Event\AfterEvent;
use Ibexa\Contracts\Core\Repository\Values\ContentType\ContentType;
use Ibexa\Contracts\Core\Repository\Values\ContentType\ContentTypeGroup;
final class UnassignContentTypeGroupEvent extends AfterEvent
{
/** @var \Ibexa\Contracts\Core\Repository\Values\ContentType\ContentType */
private $contentType;
/** @var \Ibexa\Contracts\Core\Repository\Values\ContentType\ContentTypeGroup */
private $contentTypeGroup;
public function __construct(
ContentType $contentType,
ContentTypeGroup $contentTypeGroup
) {
$this->contentType = $contentType;
$this->contentTypeGroup = $contentTypeGroup;
}
public function getContentType(): ContentType
{
return $this->contentType;
}
public function getContentTypeGroup(): ContentTypeGroup
{
return $this->contentTypeGroup;
}
}