PHP 클래스 Tebru\Retrofit\Annotation\Returns

The default is array. Other acceptable values are raw or any type specified in the Serializer documentation. A raw return will return the API response as a string.
저자: Nate Brunette ([email protected])
상속: implements Tebru\Dynamo\Annotation\DynamoAnnotation
파일 보기 프로젝트 열기: tebru/retrofit-php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params ) Constructor
allowMultiple ( ) : boolean Whether or not multiple annotations of this type can be added to a method
getName ( ) : string The name of the annotation or class of annotations
getReturn ( ) : string

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( array $params )
$params array

allowMultiple() 공개 메소드

Whether or not multiple annotations of this type can be added to a method
public allowMultiple ( ) : boolean
리턴 boolean

getName() 공개 메소드

The name of the annotation or class of annotations
public getName ( ) : string
리턴 string

getReturn() 공개 메소드

public getReturn ( ) : string
리턴 string