PHP Интерфейс ApplicationInterface

app/routing.php uses these methods to kickstart and send the output of the app to the browser.
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

display() публичный Метод

Sends the output of the app to our browser, in the form of a Response object.
public display ( ) : Symfony\Component\HttpFoundation\Response
Результат Symfony\Component\HttpFoundation\Response

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.
public initialize ( )