PHP 클래스 eZ\Bundle\EzPublishCoreBundle\Features\Context\RoleContext

상속: implements Behat\Behat\Context\Context, use trait EzSystems\PlatformBehatBundle\Context\RepositoryContext
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$roleService eZ\Publish\API\Repository\roleService

공개 메소드들

메소드 설명
__construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\API\Repository\RoleService $roleService )
ensureRoleExists ( string $name ) : eZ\Publish\API\Repository\Values\User\Role Make sure a Role with name $name exists in parent group.
getRole ( string $identifier ) : eZ\Publish\API\Repository\Values\User\Role Fetches the role with identifier.
iDontSeeRole ( $name )
iHaveRole ( $name ) : eZ\Publish\API\Repository\Values\User\Role
iSeeRole ( $name )
noAssginedPolicies ( $name )
noAssigneGroups ( $name )

메소드 상세

__construct() 공개 메소드

public __construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\API\Repository\RoleService $roleService )
$repository eZ\Publish\API\Repository\Repository
$roleService eZ\Publish\API\Repository\RoleService

ensureRoleExists() 공개 메소드

Make sure a Role with name $name exists in parent group.
public ensureRoleExists ( string $name ) : eZ\Publish\API\Repository\Values\User\Role
$name string Role identifier
리턴 eZ\Publish\API\Repository\Values\User\Role

getRole() 공개 메소드

Fetches the role with identifier.
public getRole ( string $identifier ) : eZ\Publish\API\Repository\Values\User\Role
$identifier string Role identifier
리턴 eZ\Publish\API\Repository\Values\User\Role

iDontSeeRole() 공개 메소드

public iDontSeeRole ( $name )

iHaveRole() 공개 메소드

public iHaveRole ( $name ) : eZ\Publish\API\Repository\Values\User\Role
리턴 eZ\Publish\API\Repository\Values\User\Role

iSeeRole() 공개 메소드

public iSeeRole ( $name )

noAssginedPolicies() 공개 메소드

public noAssginedPolicies ( $name )

noAssigneGroups() 공개 메소드

public noAssigneGroups ( $name )

프로퍼티 상세

$roleService 보호되어 있는 프로퍼티

protected roleService,eZ\Publish\API\Repository $roleService
리턴 eZ\Publish\API\Repository\roleService