class KernelDependentCase extends PHPUnit_Framework_TestCase implements ContainerAwareInterface (View source)

Class KernelDependentCase for test which need a valid Kernel.

Methods

static Request
getMockRequest()

No description

static 
setUpBeforeClass()

No description

static 
tearDownAfterClass()

No description

Container
getContainer()

No description

setContainer(Container $container)

No description

mixed
get(string $serviceName)

Return a service from container.

bool
has(string $serviceName)

Returns true if the service is defined.

Details

static Request getMockRequest()

Return Value

Request

static setUpBeforeClass()

Exceptions

ToolsException

static tearDownAfterClass()

Container getContainer()

Return Value

Container

ContainerAwareInterface setContainer(Container $container)

Parameters

Container $container

Return Value

ContainerAwareInterface

mixed get(string $serviceName)

Return a service from container.

Parameters

string $serviceName

Return Value

mixed

bool has(string $serviceName)

Returns true if the service is defined.

Parameters

string $serviceName

Return Value

bool true if the service is defined, false otherwise