1 | <?php |
||
5 | class SwaggerConfig |
||
6 | { |
||
7 | /** @var mixed */ |
||
8 | private $analyser; |
||
9 | |||
10 | /** @var mixed */ |
||
11 | private $analysis; |
||
12 | |||
13 | /** @var array */ |
||
14 | private $processors = []; |
||
15 | |||
16 | /** @var mixed */ |
||
17 | private $exclude; |
||
18 | |||
19 | /** @var string */ |
||
20 | private $basePath; |
||
21 | |||
22 | /** |
||
23 | * SwaggerConfig constructor. |
||
24 | * |
||
25 | * @param string $basePath |
||
26 | * @param mixed $analyser |
||
27 | * @param mixed $analysis |
||
28 | * @param array $processors |
||
29 | * @param mixed $exclude |
||
30 | */ |
||
31 | 8 | public function __construct( |
|
44 | |||
45 | /** |
||
46 | * @param mixed $analyser |
||
47 | * |
||
48 | * @return $this |
||
49 | */ |
||
50 | 1 | public function setAnalyser($analyser) |
|
56 | |||
57 | /** |
||
58 | * @param mixed $analysis |
||
59 | * |
||
60 | * @return $this |
||
61 | */ |
||
62 | 1 | public function setAnalysis($analysis) |
|
67 | |||
68 | /** |
||
69 | * @param array $processors |
||
70 | * |
||
71 | * @return $this |
||
72 | */ |
||
73 | 1 | public function setProcessors($processors) |
|
78 | |||
79 | /** |
||
80 | * @param mixed $exclude |
||
81 | * |
||
82 | * @return $this |
||
83 | */ |
||
84 | 1 | public function setExclude($exclude) |
|
89 | |||
90 | 5 | public function getScanOptions() |
|
103 | |||
104 | /** |
||
105 | * @return string |
||
106 | */ |
||
107 | 1 | public function getBasePath() |
|
111 | } |
||
112 |