for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace api\controllers\v1;
use yrc\rest\Controller;
use yrc\actions\OneTimeKeyAction;
use yii\web\HttpException;
use Yii;
class ServerController extends Controller
{
/**
* Map actions to the appropriate action class
*
* @return array
*/
public function actions()
return [
'otk' => OneTimeKeyAction::class
];
}