PHP 클래스 Webiny\Component\Rest\Parser\Parser

This class takes a class name and parses its methods and parameters. The result of parsing is an instance of ParsedClass.
파일 보기 프로젝트 열기: Webiny/Framework 1 사용 예제들

공개 메소드들

메소드 설명
parseApi ( string $class, boolean $normalize ) : ParsedApi Parses the api class and all its versions.

비공개 메소드들

메소드 설명
getVersions ( string $class ) : array Returns a list of supported versions for the given $class.

메소드 상세

parseApi() 공개 메소드

Parses the api class and all its versions.
public parseApi ( string $class, boolean $normalize ) : ParsedApi
$class string Fully qualified name of the api class.
$normalize boolean Should the class name and the method name be normalized.
리턴 ParsedApi