Serializable::serialize
(PHP 5 >= 5.1.0)
Serializable::serialize — オブジェクトの文字列表現
説明
abstract public string Serializable::serialize
( void
)
オブジェクトを文字列であらわしたものを返します。
注意: このメソッドは、オブジェクトの デストラクタ として働きます。 このメソッドの後に __destruct() メソッドがコールされることは ありません。 method.
パラメータ
この関数にはパラメータはありません。
返り値
オブジェクトの文字列表現、あるいは NULL を返します。
エラー / 例外
Throws Exception when returning other types then strings and NULL
Serializable::serialize
There are no user contributed notes for this page.
