original_string: public function asJsonP($data): YiiResponse
      {
          $response = Yii::$app->getResponse();
          $response->data = $data;
          $response->format = YiiResponse::FORMAT_JSONP;
          return $response;
      }
code: public function asJsonP($data): YiiResponse
      {
          $response = Yii::$app->getResponse();
          $response->data = $data;
          $response->format = YiiResponse::FORMAT_JSONP;
          return $response;
      }
code_tokens: public function asJsonP ( $ data ) : YiiResponse { $ response = Yii :: $ app -> getResponse ( ) ; $ response -> data = $ data ; $ response -> format = YiiResponse :: FORMAT_JSONP ; return $ response ; }
docstring: Sets the response format of the given data as JSONP.
  
  @param mixed $data The data that should be formatted.
  @return Response A response that is configured to send `$data` formatted as JSON.
  @see YiiResponse::$format
  @see YiiResponse::FORMAT_JSONP
  @see JsonResponseFormatter
docstring_tokens: Sets the response format of the given data as JSONP .