PHP Class Symfony\Component\HttpKernel\Tests\DataCollector\RequestDataCollectorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: symfony/symfony

Méthodes publiques

Méthode Description
__call ( $method, $args ) Magic method to allow non existing methods to be called and delegated.
__callStatic ( $method, $args ) Magic method to allow non existing methods to be called and delegated.
__invoke ( )
provideControllerCallables ( )
staticControllerMethod ( ) Dummy method used as controller callable.
testCollect ( )
testCollectWithoutRouteParams ( )
testControllerInspection ( $name, $callable, $expected )
testItIgnoresInvalidCallables ( )
testKernelResponseDoesNotStartSession ( )

Méthodes protégées

Méthode Description
createRequest ( $routeParams = ['name' => 'foo'] )
createResponse ( )
injectController ( $collector, $controller, $request ) Inject the given controller callable into the data collector.

Private Methods

Méthode Description
createRequestWithSession ( )

Method Details

__call() public méthode

Magic method to allow non existing methods to be called and delegated.
public __call ( $method, $args )

__callStatic() public static méthode

Magic method to allow non existing methods to be called and delegated.
public static __callStatic ( $method, $args )

__invoke() public méthode

public __invoke ( )

createRequest() protected méthode

protected createRequest ( $routeParams = ['name' => 'foo'] )

createResponse() protected méthode

protected createResponse ( )

injectController() protected méthode

Inject the given controller callable into the data collector.
protected injectController ( $collector, $controller, $request )

provideControllerCallables() public méthode

staticControllerMethod() public static méthode

Dummy method used as controller callable.
public static staticControllerMethod ( )

testCollect() public méthode

public testCollect ( )

testCollectWithoutRouteParams() public méthode

testControllerInspection() public méthode

public testControllerInspection ( $name, $callable, $expected )

testItIgnoresInvalidCallables() public méthode

testKernelResponseDoesNotStartSession() public méthode