PHP Trait Webiny\Component\Bootstrap\ApplicationTraits\AppTrait

Mostrar archivo Open project: Webiny/Framework

Public Methods

Method Description
app ( ) : Application Get current application instance.
setAppInstance ( Application $app = null ) Set the application instance.
setUp ( ) Overwrite this method in order to issue some operations, before the action method is called.

Method Details

app() public method

Get current application instance.
public app ( ) : Application
return Webiny\Component\Bootstrap\ApplicationClasses\Application

setAppInstance() public method

Set the application instance.
public setAppInstance ( Application $app = null )
$app Webiny\Component\Bootstrap\ApplicationClasses\Application Application instance.

setUp() public method

Overwrite this method in order to issue some operations, before the action method is called.
public setUp ( )