PHP 인터페이스 ApiPlatform\Core\DataProvider\ItemDataProviderInterface

저자: Kévin Dunglas ([email protected])
파일 보기 프로젝트 열기: api-platform/core

공개 메소드들

메소드 설명
getItem ( string $resourceClass, integer | string $id, string $operationName = null, array $context = [] ) : object | null Retrieves an item.

메소드 상세

getItem() 공개 메소드

Retrieves an item.
public getItem ( string $resourceClass, integer | string $id, string $operationName = null, array $context = [] ) : object | null
$resourceClass string
$id integer | string
$operationName string
$context array
리턴 object | null