for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);
namespace eZ\Publish\Core\Event\ObjectState;
use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup;
use eZ\Publish\Core\Event\BeforeEvent;
final class BeforeDeleteObjectStateGroupEvent extends BeforeEvent
{
public const NAME = 'ezplatform.event.object_state_group.delete.before';
* @var \eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
private $objectStateGroup;
public function __construct(ObjectStateGroup $objectStateGroup)
$this->objectStateGroup = $objectStateGroup;
}
public function getObjectStateGroup(): ObjectStateGroup
return $this->objectStateGroup;