PHP 클래스 Webiny\Component\Security\Role\Role

파일 보기 프로젝트 열기: Webiny/Framework 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $role ) Constructor.
getRole ( ) : string Returns the name of the role.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $role )
$role string The role name.

getRole() 공개 메소드

Returns the name of the role.
public getRole ( ) : string
리턴 string