PHP 클래스 ZF\Apigility\Admin\Model\RpcServiceResource

상속: extends ZF\Rest\AbstractResourceListener
파일 보기 프로젝트 열기: zfcampus/zf-apigility-admin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$controllerManager Zend\Mvc\Controller\ControllerManager
$documentationModel DocumentationModel
$inputFilterModel InputFilterModel
$model RpcServiceModel
$moduleName string
$rpcFactory RpcServiceModelFactory

공개 메소드들

메소드 설명
__construct ( RpcServiceModelFactory $rpcFactory, InputFilterModel $inputFilterModel, ControllerManager $controllerManager, DocumentationModel $documentationModel )
create ( array | object $data ) : RpcServiceEntity | ZF\ApiProblem\ApiProblem Create a new RPC service
delete ( string $id ) : true Delete an RPC service
fetch ( string $id ) : RpcServiceEntity | ZF\ApiProblem\ApiProblem Fetch RPC metadata
fetchAll ( array $params = [] ) : RpcServiceEntity[] Fetch metadata for all RPC services
getModel ( ) : RpcServiceModel
getModuleName ( ) : string
patch ( string $id, object | array $data ) : ZF\ApiProblem\ApiProblem | RpcServiceEntity Update an existing RPC service

보호된 메소드들

메소드 설명
injectControllerClass ( RpcServiceEntity $service ) Inject the class name of the controller, if it can be resolved.
injectDocumentation ( RpcServiceEntity $service )
injectInputFilters ( RpcServiceEntity $service ) Inject the input filters collection, if any, as an embedded collection

메소드 상세

__construct() 공개 메소드

public __construct ( RpcServiceModelFactory $rpcFactory, InputFilterModel $inputFilterModel, ControllerManager $controllerManager, DocumentationModel $documentationModel )
$rpcFactory RpcServiceModelFactory
$inputFilterModel InputFilterModel
$controllerManager Zend\Mvc\Controller\ControllerManager
$documentationModel DocumentationModel

create() 공개 메소드

Create a new RPC service
public create ( array | object $data ) : RpcServiceEntity | ZF\ApiProblem\ApiProblem
$data array | object
리턴 RpcServiceEntity | ZF\ApiProblem\ApiProblem

delete() 공개 메소드

Delete an RPC service
public delete ( string $id ) : true
$id string
리턴 true

fetch() 공개 메소드

Fetch RPC metadata
public fetch ( string $id ) : RpcServiceEntity | ZF\ApiProblem\ApiProblem
$id string
리턴 RpcServiceEntity | ZF\ApiProblem\ApiProblem

fetchAll() 공개 메소드

Fetch metadata for all RPC services
public fetchAll ( array $params = [] ) : RpcServiceEntity[]
$params array
리턴 RpcServiceEntity[]

getModel() 공개 메소드

public getModel ( ) : RpcServiceModel
리턴 RpcServiceModel

getModuleName() 공개 메소드

public getModuleName ( ) : string
리턴 string

injectControllerClass() 보호된 메소드

Inject the class name of the controller, if it can be resolved.
protected injectControllerClass ( RpcServiceEntity $service )
$service RpcServiceEntity

injectDocumentation() 보호된 메소드

protected injectDocumentation ( RpcServiceEntity $service )
$service RpcServiceEntity

injectInputFilters() 보호된 메소드

Inject the input filters collection, if any, as an embedded collection
protected injectInputFilters ( RpcServiceEntity $service )
$service RpcServiceEntity

patch() 공개 메소드

Update an existing RPC service
public patch ( string $id, object | array $data ) : ZF\ApiProblem\ApiProblem | RpcServiceEntity
$id string
$data object | array
리턴 ZF\ApiProblem\ApiProblem | RpcServiceEntity

프로퍼티 상세

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

protected ControllerManager,Zend\Mvc\Controller $controllerManager
리턴 Zend\Mvc\Controller\ControllerManager

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

protected DocumentationModel,ZF\Apigility\Admin\Model $documentationModel
리턴 DocumentationModel

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

protected InputFilterModel,ZF\Apigility\Admin\Model $inputFilterModel
리턴 InputFilterModel

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

protected RpcServiceModel,ZF\Apigility\Admin\Model $model
리턴 RpcServiceModel

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

protected string $moduleName
리턴 string

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

protected RpcServiceModelFactory,ZF\Apigility\Admin\Model $rpcFactory
리턴 RpcServiceModelFactory