PHP Класс Collective\Annotations\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 Collective\Annotations\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 Collective\Annotations\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