| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class AuraSessionSegmentFactory implements SessionSegmentFactory |
||
| 13 | { |
||
| 14 | private SessionFactory $factory; |
||
| 15 | private string $segmentName; |
||
| 16 | |||
| 17 | 2 | public function __construct(SessionFactory $factory, string $segmentName = 'app') |
|
| 18 | { |
||
| 19 | 2 | $this->factory = $factory; |
|
| 20 | 2 | $this->segmentName = $segmentName; |
|
| 21 | 2 | } |
|
| 22 | |||
| 23 | 2 | public function __invoke(ServerRequestInterface $request): SessionSegment |
|
| 31 | } |
||
| 32 | } |
||
| 33 |