Controllers\xAPI\BaseController::setMethod PHP Method

setMethod() protected method

Sets the method (to support CORS).
protected setMethod ( )
    protected function setMethod()
    {
        $this->setParameters();
        $this->method = \LockerRequest::getParam('method', \Request::server('REQUEST_METHOD'));
    }