PHP Класс Pop\Auth\Resource

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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