| 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 | public function __construct( |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $analyser |
||
| 47 | * |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | public function setAnalyser($analyser) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param mixed $analysis |
||
| 59 | * |
||
| 60 | * @return $this |
||
| 61 | */ |
||
| 62 | public function setAnalysis($analysis) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param array $processors |
||
| 70 | * |
||
| 71 | * @return $this |
||
| 72 | */ |
||
| 73 | public function setProcessors($processors) |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param mixed $exclude |
||
| 81 | * |
||
| 82 | * @return $this |
||
| 83 | */ |
||
| 84 | public function setExclude($exclude) |
||
| 89 | |||
| 90 | public function getScanOptions() |
||
| 103 | |||
| 104 | /** |
||
| 105 | * @return string |
||
| 106 | */ |
||
| 107 | public function getBasePath() |
||
| 111 | } |
||
| 112 |