PHP 클래스 Pop\Auth\Resource

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$name string Resource name

공개 메소드들

메소드 설명
__construct ( string $name ) : Resource Constructor
__toString ( ) : string Method to return the string value of the name of the role
factory ( string $name ) : Resource Static method to instantiate the resource object and return itself to facilitate chaining methods together.
getName ( ) : string Method to get the role name

메소드 상세

__construct() 공개 메소드

Instantiate the resource object
public __construct ( string $name ) : Resource
$name string
리턴 Resource

__toString() 공개 메소드

Method to return the string value of the name of the role
public __toString ( ) : string
리턴 string

factory() 공개 정적인 메소드

Static method to instantiate the resource object and return itself to facilitate chaining methods together.
public static factory ( string $name ) : Resource
$name string
리턴 Resource

getName() 공개 메소드

Method to get the role name
public getName ( ) : string
리턴 string

프로퍼티 상세

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

Resource name
protected string $name
리턴 string