| 1 | <?php |
||
| 19 | class ApiContainerController extends \yii\rest\Controller |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @inheritdoc |
||
| 23 | */ |
||
| 24 | public function behaviors() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Lists the available versions and their respective stability for the |
||
| 31 | * parent module. |
||
| 32 | * |
||
| 33 | * @return string[] |
||
| 34 | */ |
||
| 35 | public function actionIndex() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Handles the exceptions catched by the system bootstrapping process. |
||
| 46 | * @return \Exception |
||
| 47 | */ |
||
| 48 | public function actionError() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Action shown when a resource is no longer available. |
||
| 65 | * |
||
| 66 | * @throws GoneHttpException |
||
| 67 | */ |
||
| 68 | public function actionGone() |
||
| 76 | } |
||
| 77 |