Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Webiny
Component
Rest
Parser
Parser
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.
Exibir arquivo
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