/**
* Responds to the OPTIONS request.
*
* @param $id
*/
public function actionOptions($id = null)
{
$action = new OptionsAction($this->action->id, $this->id);
$action->resourceOptions = ['GET', 'DELETE', 'HEAD', 'OPTIONS'];
// array the HTTP verbs that are supported by the resource URL
$action->run($id);
}