Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
OpenApiOperationAddedEvent
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
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
1<?php
2namespace Apie\RestApi\Events;
3
4use Apie\Common\Interfaces\RestApiRouteDefinition;
5use Apie\SchemaGenerator\Builders\ComponentsBuilder;
6use cebe\openapi\spec\Operation;
7
8final class OpenApiOperationAddedEvent
9{
10    public function __construct(
11        public readonly ComponentsBuilder $componentsBuilder,
12        public readonly Operation $operation,
13        public readonly RestApiRouteDefinition $routeDefinition,
14    ) {
15    }
16}