PHP 클래스 ApiPlatform\Core\Documentation\Documentation

저자: Amrouche Hamza ([email protected])
파일 보기 프로젝트 열기: api-platform/core 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ResourceNameCollection $resourceNameCollection, string $title = '', string $description = '', string $version = '', array $formats = [] )
getDescription ( ) : string
getMimeTypes ( ) : array
getResourceNameCollection ( ) : ResourceNameCollection
getTitle ( ) : string
getVersion ( ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( ResourceNameCollection $resourceNameCollection, string $title = '', string $description = '', string $version = '', array $formats = [] )
$resourceNameCollection ApiPlatform\Core\Metadata\Resource\ResourceNameCollection
$title string
$description string
$version string
$formats array

getDescription() 공개 메소드

public getDescription ( ) : string
리턴 string

getMimeTypes() 공개 메소드

public getMimeTypes ( ) : array
리턴 array

getResourceNameCollection() 공개 메소드

public getResourceNameCollection ( ) : ResourceNameCollection
리턴 ApiPlatform\Core\Metadata\Resource\ResourceNameCollection

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

getVersion() 공개 메소드

public getVersion ( ) : string
리턴 string