| 1 | <?php |
||
| 8 | class Application extends \Symfony\Component\Console\Application |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $basePath; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected $dirs = [ |
||
| 19 | 'endpoint' => '', |
||
| 20 | 'model' => '' |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Application constructor. |
||
| 25 | * @param string $name |
||
| 26 | * @param string $version |
||
| 27 | */ |
||
| 28 | 4 | public function __construct($name = "Atog.Simple-Api-Client", $version = "v1.0") |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @param string $path |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | 2 | public function endpointPath($path = "") |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $path |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | 2 | public function modelPath($path = "") |
|
| 60 | } |
||
| 61 |