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

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

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

Protected Methods

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

Private Methods

Method Description
createRequestWithSession ( )

Method Details

__call() public method

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

__callStatic() public static method

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

__invoke() public method

public __invoke ( )

createRequest() protected method

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

createResponse() protected method

protected createResponse ( )

injectController() protected method

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

provideControllerCallables() public method

staticControllerMethod() public static method

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

testCollect() public method

public testCollect ( )

testCollectWithoutRouteParams() public method

testControllerInspection() public method

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

testItIgnoresInvalidCallables() public method

testKernelResponseDoesNotStartSession() public method