PHP Interface ApplicationInterface

app/routing.php uses these methods to kickstart and send the output of the app to the browser.
Show file Open project: forkcms/forkcms Interface Usage Examples

Public Methods

Method Description
display ( ) : Symfony\Component\HttpFoundation\Response Sends the output of the app to our browser, in the form of a Response object.
initialize ( ) This method exists because the kernel/service container needs to be set before the page's functionality gets loaded. Any functionality of the app should be initialized afterwards.

Method Details

display() public method

Sends the output of the app to our browser, in the form of a Response object.
public display ( ) : Symfony\Component\HttpFoundation\Response
return Symfony\Component\HttpFoundation\Response

initialize() public method

This method exists because the kernel/service container needs to be set before the page's functionality gets loaded. Any functionality of the app should be initialized afterwards.
public initialize ( )