PHP Class Webiny\Component\Rest\Parser\ClassParser

Show file Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
__construct ( string $class, boolean $normalize ) Base constructor.
getParsedClass ( ) : ParsedClass Get the ParsedClass instance.

Private Methods

Method Description
parseClass ( ) Internal method that does the actual parsing of class properties.
parseMethods ( ) Parsed the class methods and assigns them to the ParsedClass instance.

Method Details

__construct() public method

Base constructor.
public __construct ( string $class, boolean $normalize )
$class string Fully qualified name of the api class.
$normalize boolean Should the class name and the method name be normalized.

getParsedClass() public method

Get the ParsedClass instance.
public getParsedClass ( ) : ParsedClass
return ParsedClass