PHP Класс Adamgoose\Routing\Annotations\Annotations\Annotation

Наследование: implements ArrayAcces\ArrayAccess
Показать файл Открыть проект

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

Свойство Тип Описание
$values array The value array.

Открытые методы

Метод Описание
__construct ( array $values ) : void Create a new annotation instance.
__get ( string $key ) : mixed Dynamically get a property on the annotation.
__set ( string $key, mixed $value ) : void Dynamically set a property on the annotation.
modify ( MethodEndpoint $endpoint, ReflectionMethod $method ) : void Apply the annotation's settings to the given endpoint.
modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class ) : void Apply the annotation's settings to the given endpoint collection.
offsetExists ( string $offset ) : boolean Determine if the value at a given offset exists.
offsetGet ( string $offset ) : mixed Get the value at a given offset.
offsetSet ( string $offset, mixed $value ) : void Set the value at a given offset.
offsetUnset ( string $offset ) : void Remove the value at a given offset.

Описание методов

__construct() публичный метод

Create a new annotation instance.
public __construct ( array $values ) : void
$values array
Результат void

__get() публичный метод

Dynamically get a property on the annotation.
public __get ( string $key ) : mixed
$key string
Результат mixed

__set() публичный метод

Dynamically set a property on the annotation.
public __set ( string $key, mixed $value ) : void
$key string
$value mixed
Результат void

modify() публичный метод

Apply the annotation's settings to the given endpoint.
public modify ( MethodEndpoint $endpoint, ReflectionMethod $method ) : void
$endpoint Adamgoose\Routing\Annotations\MethodEndpoint
$method ReflectionMethod
Результат void

modifyCollection() публичный метод

Apply the annotation's settings to the given endpoint collection.
public modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class ) : void
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
$class ReflectionClass
Результат void

offsetExists() публичный метод

Determine if the value at a given offset exists.
public offsetExists ( string $offset ) : boolean
$offset string
Результат boolean

offsetGet() публичный метод

Get the value at a given offset.
public offsetGet ( string $offset ) : mixed
$offset string
Результат mixed

offsetSet() публичный метод

Set the value at a given offset.
public offsetSet ( string $offset, mixed $value ) : void
$offset string
$value mixed
Результат void

offsetUnset() публичный метод

Remove the value at a given offset.
public offsetUnset ( string $offset ) : void
$offset string
Результат void

Описание свойств

$values защищенное свойство

The value array.
protected array $values
Результат array