webinarium /
linode-api3
| 1 | <?php |
||
| 2 | |||
| 3 | //---------------------------------------------------------------------- |
||
| 4 | // |
||
| 5 | // Copyright (C) 2015-2017 Artem Rodygin |
||
| 6 | // |
||
| 7 | // This file is part of Linode API Client Library for PHP. |
||
| 8 | // |
||
| 9 | // You should have received a copy of the MIT License along with |
||
| 10 | // the library. If not, see <http://opensource.org/licenses/MIT>. |
||
| 11 | // |
||
| 12 | //---------------------------------------------------------------------- |
||
| 13 | |||
| 14 | namespace Linode; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * This class is autogenerated. |
||
| 18 | * |
||
| 19 | * @version Linode API v3.3 |
||
| 20 | */ |
||
| 21 | class Api extends BaseLinodeApi |
||
| 22 | { |
||
| 23 | /** API version */ |
||
| 24 | const VERSION = '3.3'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Returns a data structure of the entire Linode API specification. This method does not require |
||
| 28 | * authorization.<br><br>For example: <a target="_blank" |
||
| 29 | * href="https://api.linode.com/?api_action=api.spec">https://api.linode.com/?api_action=api.spec</a>. |
||
| 30 | * |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | 1 | public function spec() |
|
| 34 | { |
||
| 35 | 1 | return $this->call('api.spec'); |
|
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 36 | } |
||
| 37 | } |
||
| 38 |