PHP Class Symfony\Bundle\FrameworkBundle\Client

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\Client
Afficher le fichier Open project: pmjones/php-framework-benchmarks Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
doRequest ( Request $request ) : Response Makes a request.
getScript ( Request $request ) : string Returns the script to execute when the request must be insulated.

Method Details

doRequest() protected méthode

Makes a request.
protected doRequest ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request A Request instance
Résultat Symfony\Component\HttpFoundation\Response A Response instance

getContainer() public méthode

Returns the container.
public getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Résultat Symfony\Component\DependencyInjection\ContainerInterface

getKernel() public méthode

Returns the kernel.
public getKernel ( ) : Symfony\Component\HttpKernel\HttpKernelInterface
Résultat Symfony\Component\HttpKernel\HttpKernelInterface

getProfile() public méthode

Gets the profile associated with the current Response.
public getProfile ( ) : Symfony\Component\HttpKernel\Profiler\Profile
Résultat Symfony\Component\HttpKernel\Profiler\Profile A Profile instance

getScript() protected méthode

Returns the script to execute when the request must be insulated.
protected getScript ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request A Request instance
Résultat string The script content