Builds a RoleDraft domain object from value object returned by persistence
Decorates Role.
public buildDomainRoleDraftObject ( eZ\Publish\SPI\Persistence\User\Role $spiRole ) : eZ\Publish\API\Repository\Values\User\RoleDraft | ||
$spiRole | eZ\Publish\SPI\Persistence\User\Role | |
return | eZ\Publish\API\Repository\Values\User\RoleDraft |