PHP Class 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.
ファイルを表示 Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
parseApi ( string $class, boolean $normalize ) : ParsedApi Parses the api class and all its versions.

Private Methods

Method Description
getVersions ( string $class ) : array Returns a list of supported versions for the given $class.

Method Details

parseApi() public method

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.
return ParsedApi