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.
Afficher le fichier Open project: Webiny/Framework Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

parseApi() public méthode

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.
Résultat ParsedApi