Serializable
PHP Manual

Serializable::serialize

(No version information available, might be only in CVS)

Serializable::serializeString representation of object

説明

abstract public string Serializable::serialize ( void )

Should return the string representation of the object.

注意: This method acts as the destructor of the object. The __destruct() method will not be called after this method.

パラメータ

この関数にはパラメータはありません。

返り値

Returns the string representation of the object or NULL

エラー / 例外

Throws Exception when returning other types then strings and NULL

参考


Serializable
PHP Manual