IbexaTestKernel
IbexaTestKernel.php
:
73
Extends Kernel
Implements
IbexaTestKernelInterface
Tags
Constants¶
EXPOSED_SERVICES_BY_CLASS ¶
IbexaTestKernel.php
:
78
|
|
EXPOSED_SERVICES_BY_ID ¶
IbexaTestKernel.php
:
101
|
|
Methods¶
getAliasServiceId()
¶
IbexaTestKernel.php
:
106
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | string | - | - |
Return values
string
a service ID that service aliases will be registered as
getBuildDir()
¶
IbexaTestKernel.php
:
132
|
|
Return values
string
getCacheDir()
¶
IbexaTestKernel.php
:
127
|
|
Return values
string
getFixtures()
¶
IbexaTestKernel.php
:
122
|
|
Return values
iterable<string|int, Fixture>
getSchemaFiles()
¶
IbexaTestKernel.php
:
114
|
|
Return values
iterable<string|int, string>
registerBundles()
¶
IbexaTestKernel.php
:
137
|
|
Return values
iterable<string|int, mixed>
registerContainerConfiguration()
¶
IbexaTestKernel.php
:
153
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |
Tags
addSyntheticService()
¶
IbexaTestKernel.php
:
280
Creates synthetic services in container, allowing compilation of container when some services are missing.
|
|
Additionally, those services can be replaced with mock implementations at runtime, allowing integration testing.
You can set them up in KernelTestCase by calling self::getContainer()->set($id, $this->createMock($class));
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$container | ContainerBuilder | - | - |
$class | string | - | - |
$id | string|null | null | - |
getExposedServicesByClass()
¶
IbexaTestKernel.php
:
200
|
|
Return values
iterable<string|int, class-string>
getExposedServicesById()
¶
IbexaTestKernel.php
:
208
|
|
Return values
iterable<string, class-string>
loadConfiguration()
¶
IbexaTestKernel.php
:
173
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |
Tags
loadSecurity()
¶
IbexaTestKernel.php
:
192
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |
Tags
loadServices()
¶
IbexaTestKernel.php
:
184
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |