1 | <?php |
||
2 | |||
3 | |||
4 | namespace Apie\OpenapiSchema\Spec; |
||
5 | |||
6 | use Apie\OpenapiSchema\Concerns\CompositeValueObjectWithExtension; |
||
7 | use Apie\OpenapiSchema\Map\ParameterList; |
||
8 | use Apie\OpenapiSchema\Map\ServerList; |
||
9 | use Apie\ValueObjects\ValueObjectInterface; |
||
10 | |||
11 | class PathItem implements ValueObjectInterface |
||
12 | { |
||
13 | use CompositeValueObjectWithExtension; |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
14 | |||
15 | /** |
||
16 | * @var string|null |
||
17 | */ |
||
18 | private $summary; |
||
0 ignored issues
–
show
|
|||
19 | |||
20 | /** |
||
21 | * @var string|null |
||
22 | */ |
||
23 | private $description; |
||
0 ignored issues
–
show
|
|||
24 | |||
25 | /** |
||
26 | * @var Operation|null |
||
27 | */ |
||
28 | private $get; |
||
29 | |||
30 | /** |
||
31 | * @var Operation|null |
||
32 | */ |
||
33 | private $put; |
||
0 ignored issues
–
show
|
|||
34 | |||
35 | /** |
||
36 | * @var Operation|null |
||
37 | */ |
||
38 | private $post; |
||
0 ignored issues
–
show
|
|||
39 | |||
40 | /** |
||
41 | * @var Operation|null |
||
42 | */ |
||
43 | private $delete; |
||
0 ignored issues
–
show
|
|||
44 | |||
45 | /** |
||
46 | * @var Operation|null |
||
47 | */ |
||
48 | private $options; |
||
0 ignored issues
–
show
|
|||
49 | |||
50 | /** |
||
51 | * @var Operation|null |
||
52 | */ |
||
53 | private $head; |
||
0 ignored issues
–
show
|
|||
54 | |||
55 | /** |
||
56 | * @var Operation|null |
||
57 | */ |
||
58 | private $patch; |
||
0 ignored issues
–
show
|
|||
59 | |||
60 | /** |
||
61 | * @var Operation|null |
||
62 | */ |
||
63 | private $trace; |
||
0 ignored issues
–
show
|
|||
64 | |||
65 | /** |
||
66 | * @var ServerList|null |
||
67 | */ |
||
68 | private $servers; |
||
0 ignored issues
–
show
|
|||
69 | |||
70 | /** |
||
71 | * @var ParameterList|null |
||
72 | */ |
||
73 | private $parameters; |
||
0 ignored issues
–
show
|
|||
74 | |||
75 | /** |
||
76 | * @return Operation|null |
||
77 | */ |
||
78 | public function getGet(): ?Operation |
||
79 | { |
||
80 | return $this->get; |
||
81 | } |
||
82 | } |
||
83 |