| 1 | <?php |
||
| 16 | final class BeforeCopyRoleEvent extends BeforeEvent |
||
| 17 | { |
||
| 18 | /** @var \eZ\Publish\API\Repository\Values\User\Role */ |
||
| 19 | private $role; |
||
| 20 | |||
| 21 | /** @var \eZ\Publish\API\Repository\Values\User\RoleCopyStruct */ |
||
| 22 | private $roleCopyStruct; |
||
| 23 | |||
| 24 | /** @var \eZ\Publish\API\Repository\Values\User\Role|null */ |
||
| 25 | private $copiedRole; |
||
| 26 | |||
| 27 | public function __construct(Role $role, RoleCopyStruct $roleCopyStruct) |
||
| 32 | |||
| 33 | public function getRole(): Role |
||
| 37 | |||
| 38 | public function getCopiedRole(): Role |
||
| 46 | |||
| 47 | public function hasCopiedRole(): bool |
||
| 51 | } |
||
| 52 |