Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| CustomFieldServiceFactory | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| create | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | // FILE: src/Service/CustomFieldServiceFactory.php |
| 4 | |
| 5 | namespace Satag\AmicronEntityBundle\Service; |
| 6 | |
| 7 | class CustomFieldServiceFactory |
| 8 | { |
| 9 | public function __construct( |
| 10 | private readonly PlatformConfiguration $platformConfiguration |
| 11 | ) { |
| 12 | } |
| 13 | |
| 14 | public function create(string $definitionKey): CustomFieldService |
| 15 | { |
| 16 | return new CustomFieldService($this->platformConfiguration, $definitionKey); |
| 17 | } |
| 18 | } |