PHP 클래스 PhalconRest\Api

상속: extends PhalconApi\Api
파일 보기 프로젝트 열기: olivierandriessen/phalcon-rest 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$collectionsByIdentifier
$collectionsByName
$endpointsByIdentifier
$matchedRouteNameParts

공개 메소드들

메소드 설명
collection ( ApiCollection $collection ) : static
getCollection ( $name ) : ApiCollection | null
getCollections ( ) : ApiCollection[]
getMatchedCollection ( ) : ApiCollection | null
getMatchedEndpoint ( ) : ApiEndpoint | null
mount ( Phalcon\Mvc\Micro\CollectionInterface $collection )
resource ( ApiResource $resource ) : static

보호된 메소드들

메소드 설명
getMatchedRouteNamePart ( $key )

메소드 상세

collection() 공개 메소드

public collection ( ApiCollection $collection ) : static
$collection PhalconRest\Api\ApiCollection
리턴 static

getCollection() 공개 메소드

public getCollection ( $name ) : ApiCollection | null
$name
리턴 PhalconRest\Api\ApiCollection | null

getCollections() 공개 메소드

public getCollections ( ) : ApiCollection[]
리턴 PhalconRest\Api\ApiCollection[]

getMatchedCollection() 공개 메소드

public getMatchedCollection ( ) : ApiCollection | null
리턴 PhalconRest\Api\ApiCollection | null The matched collection

getMatchedEndpoint() 공개 메소드

public getMatchedEndpoint ( ) : ApiEndpoint | null
리턴 PhalconRest\Api\ApiEndpoint | null The matched endpoint

getMatchedRouteNamePart() 보호된 메소드

protected getMatchedRouteNamePart ( $key )

mount() 공개 메소드

public mount ( Phalcon\Mvc\Micro\CollectionInterface $collection )
$collection Phalcon\Mvc\Micro\CollectionInterface

resource() 공개 메소드

public resource ( ApiResource $resource ) : static
$resource PhalconRest\Api\ApiResource
리턴 static

프로퍼티 상세

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

protected $collectionsByIdentifier

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

protected $collectionsByName

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

protected $endpointsByIdentifier

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

protected $matchedRouteNameParts