Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
1 / 1
StartLogContextBuilder
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 process
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace Apie\ApieBundle\DataCollector;
4
5use Apie\Core\Context\ApieContext;
6use Apie\Core\ContextBuilders\ContextBuilderInterface;
7
8class StartLogContextBuilder implements ContextBuilderInterface
9{
10    public function __construct(
11        private readonly ApieDataCollector $apieDataCollector
12    ) {
13    }
14
15    public function process(ApieContext $context): ApieContext
16    {
17        $this->apieDataCollector->startLogApieContext($context);
18        return $context;
19    }
20}