Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function handle() |
||
14 | { |
||
15 | $apiDocs = app()->make('yaro.apidocs'); |
||
16 | $snapshotName = $apiDocs->blueprint($this->option('prefix')) |
||
17 | ->create( |
||
18 | (string) $this->argument('name'), |
||
19 | (string) $this->option('disc') |
||
20 | ); |
||
21 | |||
22 | $this->info(sprintf('New blueprint snapshot [%s] created successfully.', $snapshotName)); |
||
23 | } |
||
24 | } |
||
25 |