IbexaTestKernel
IbexaTestKernel.php
:
72
Extends Kernel
Implements
IbexaTestKernelInterface
Tags
Constants¶
EXPOSED_SERVICES_BY_CLASS ¶
IbexaTestKernel.php
:
77
|
|
EXPOSED_SERVICES_BY_ID ¶
IbexaTestKernel.php
:
98
|
|
Methods¶
getAliasServiceId() ¶
IbexaTestKernel.php
:
103
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | string | - | - |
Return values
string
a service ID that service aliases will be registered as
getBuildDir() ¶
IbexaTestKernel.php
:
129
|
|
Return values
string
getCacheDir() ¶
IbexaTestKernel.php
:
124
|
|
Return values
string
getFixtures() ¶
IbexaTestKernel.php
:
119
|
|
Return values
iterable<string|int, Fixture>
getSchemaFiles() ¶
IbexaTestKernel.php
:
111
|
|
Return values
iterable<string|int, string>
registerBundles() ¶
IbexaTestKernel.php
:
134
|
|
Return values
iterable<string|int, mixed>
registerContainerConfiguration() ¶
IbexaTestKernel.php
:
150
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |
Tags
addSyntheticService() ¶
IbexaTestKernel.php
:
277
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
:
197
|
|
Return values
iterable<string|int, class-string>
getExposedServicesById() ¶
IbexaTestKernel.php
:
205
|
|
Return values
iterable<string, class-string>
loadConfiguration() ¶
IbexaTestKernel.php
:
170
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |
Tags
loadSecurity() ¶
IbexaTestKernel.php
:
189
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |
Tags
loadServices() ¶
IbexaTestKernel.php
:
181
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$loader | LoaderInterface | - | - |