フォロワー数: 0

インターフェース yii\web\ResponseFormatterInterface

全てのクラス All Classes | メソッド Methods
実装クラスyii\web\HtmlResponseFormatteryii\web\JsonResponseFormatteryii\web\XmlResponseFormatter
対応バージョン2.0
ソースコード https://github.com/yiisoft/yii2/blob/master/framework/web/ResponseFormatterInterface.php

ResponseFormatterInterface は、レスポンスが送信される前にフォーマットするために必要なインターフェースを規定します。

公開メソッド

継承メソッドを非表示

メソッド 説明 定義元
format() 指定されたレスポンスをフォーマットします。 yii\web\ResponseFormatterInterface

メソッド詳細

継承メソッドを非表示

トップへ戻る このメソッドへの直接リンク GitHubで編集 GitHubでソースコードを表示 format() public abstract method

指定されたレスポンスをフォーマットします。

public abstract void format ( $response )
$response yii\web\Response

フォーマットするレスポンス。

                public function format($response);