handleRequest() абстрактный публичный Метод

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
Результат Response the resulting response
Пример #1
0
 /**
  * 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);
 }