PHP Класс Symfony\Bundle\FrameworkBundle\Client

Автор: Fabien Potencier ([email protected])
Наследование: extends Symfony\Component\HttpKernel\Client
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface Returns the container.
getKernel ( ) : Symfony\Component\HttpKernel\HttpKernelInterface Returns the kernel.
getProfile ( ) : Symfony\Component\HttpKernel\Profiler\Profile Gets the profile associated with the current Response.

Защищенные методы

Метод Описание
doRequest ( Request $request ) : Response Makes a request.
getScript ( Request $request ) : string Returns the script to execute when the request must be insulated.

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

doRequest() защищенный Метод

Makes a request.
protected doRequest ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request A Request instance
Результат Symfony\Component\HttpFoundation\Response A Response instance

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

Returns the container.
public getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Результат Symfony\Component\DependencyInjection\ContainerInterface

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

Returns the kernel.
public getKernel ( ) : Symfony\Component\HttpKernel\HttpKernelInterface
Результат Symfony\Component\HttpKernel\HttpKernelInterface

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

Gets the profile associated with the current Response.
public getProfile ( ) : Symfony\Component\HttpKernel\Profiler\Profile
Результат Symfony\Component\HttpKernel\Profiler\Profile A Profile instance

getScript() защищенный Метод

Returns the script to execute when the request must be insulated.
protected getScript ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request A Request instance
Результат string The script content