CakeFest 2024: The Official CakePHP Conference

COMPersistHelper::SaveToStream

(PHP 5, PHP 7, PHP 8)

COMPersistHelper::SaveToStreamオブジェクトをストリームに保存する

説明

public COMPersistHelper::SaveToStream(resource $stream): bool

オブジェクトを指定されたストリームに保存します。

パラメータ

stream
オブジェクトを保存するストリーム リソース

戻り値

成功した場合に true を、失敗した場合に false を返します。

エラー / 例外

関連付けられたオブジェクトが COM のインターフェイス IPersistStreamIPersistStreamInit をいずれも実装していないか、 IPersistStream::Save() の呼び出しに失敗した場合、 com_exception がスローされます。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top