Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function handle () { |
||
19 | $api = Asana::getApi(); |
||
20 | $entity = $api->load($api, "Helix\\Asana\\" . $this->argument('class'), $this->argument('path')); |
||
21 | if (!$entity) { |
||
22 | $this->error('404'); |
||
23 | exit(1); |
||
24 | } |
||
25 | var_dump($entity->{$this->argument('method')}(...$this->argument('args'))); |
||
26 | echo "\n\n"; |
||
27 | } |
||
28 | } |