PHP 클래스 Adamgoose\Routing\Annotations\Annotations\Annotation

상속: implements ArrayAcces\ArrayAccess
파일 보기 프로젝트 열기: adamgoose/laravel-annotations

보호된 프로퍼티들

프로퍼티 타입 설명
$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