yii\base\Application::handleRequest PHP Method

handleRequest() abstract public method

This method should return an instance of Response or its child class which represents the handling result of the request.
abstract public handleRequest ( Request $request ) : Response
$request Request the request to be handled
return Response the resulting response
    public abstract function handleRequest($request);

Usage Example

 /**
  * Handles the specified request.
  *
  * This method should return an instance of [[Response]] or its child class
  * which represents the handling result of the request.
  *
  * @param Request $request the request to be handled
  *
  * @return Response the resulting response
  */
 public function handleRequest($request)
 {
     return parent::handleRequest($request);
 }