COMPersistHelper::__construct
(PHP 5, PHP 7, PHP 8)
Construct a COMPersistHelper object
Description
Constructs a persistence helper object, usually associated with a variant.
Parameters
variantA COM object which implements
IDispatch. To be able to successfully call any ofCOMPersistHelper's methods, the object has to implementIPersistFile,IPersistStreamand/orIPersistStreamInit.Passing null as
variantis only useful if the object is to be loaded from a stream by callingCOMPersistHelper::LoadFromStream.