KernelTestCase
abstract class KernelTestCase extends TestCase
KernelTestCase is the base class for tests needing a Kernel.
Properties
static protected | $class | ||
static protected KernelInterface | $kernel | ||
static protected ContainerInterface | $container |
Methods
static string
getKernelClass()
No description
static KernelInterface
bootKernel(array $options = array())
Boots the Kernel for this test.
static KernelInterface
createKernel(array $options = array())
Creates a Kernel.
static
ensureKernelShutdown()
Shuts the kernel down if it was used in the test.
tearDown()
Clean up Kernel usage in this test.
Details
static protected KernelInterface
bootKernel(array $options = array())
Boots the Kernel for this test.
static protected KernelInterface
createKernel(array $options = array())
Creates a Kernel.
Available options:
- environment
- debug