PHP Class Api\V1\Engine\Client

Author: Dave Lens ([email protected])
Inheritance: extends Api
Datei anzeigen Open project: forkcms/forkcms

Public Methods

Method Description
display ( ) : Response
initialize ( ) This method exists because the service container needs to be set before the rest of API functionality gets loaded.

Protected Methods

Method Description
loadLanguages ( )
loadModules ( ) Loops all backend modules, and builds a list of those that have an api.php file in their engine.
loadParameters ( string $className, string $method ) : array This method is used to return an iteration-friendly list of parameters for a given method.

Private Methods

Method Description
initializeTwig ( )

Method Details

display() public method

public display ( ) : Response
return Symfony\Component\HttpFoundation\Response

initialize() public method

This method exists because the service container needs to be set before the rest of API functionality gets loaded.
public initialize ( )

loadLanguages() protected method

protected loadLanguages ( )

loadModules() protected method

Loops all backend modules, and builds a list of those that have an api.php file in their engine.
protected loadModules ( )

loadParameters() protected method

This method is used to return an iteration-friendly list of parameters for a given method.
protected loadParameters ( string $className, string $method ) : array
$className string
$method string
return array