PHP Interface ApplicationInterface

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

Méthodes publiques

Méthode 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 méthode

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

initialize() public méthode

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 ( )