| Total Complexity | 3 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class Document implements ValueObjectInterface |
||
| 18 | { |
||
| 19 | use CompositeValueObjectWithExtension; |
||
|
|
|||
| 20 | |||
| 21 | /** |
||
| 22 | * @var OpenApiVersion |
||
| 23 | */ |
||
| 24 | private $openapi; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var InfoContract|Info |
||
| 28 | */ |
||
| 29 | private $info; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var ServerList|null |
||
| 33 | */ |
||
| 34 | private $servers; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var Paths |
||
| 38 | */ |
||
| 39 | private $paths; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @var Components|null |
||
| 43 | */ |
||
| 44 | private $components; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @var SecurityRequirementList|null |
||
| 48 | */ |
||
| 49 | private $security; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @var TagList|null |
||
| 53 | */ |
||
| 54 | private $tags; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @var ExternalDocs|null |
||
| 58 | */ |
||
| 59 | private $externalDocs; |
||
| 60 | |||
| 61 | public function __construct(InfoContract $info, Paths $paths) |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return Paths |
||
| 70 | */ |
||
| 71 | public function getPaths(): Paths |
||
| 74 | } |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return Components|null |
||
| 78 | */ |
||
| 79 | public function getComponents(): ?Components |
||
| 84 |