Documentation

RemoveUnserializeForInternalSerializableClassesPass
in package

Internal classes can not be instantiated with the newInstanceWithoutArgs reflection method, so need the serialization hack. If the class also implements Serializable, we need to replace the standard unserialize method definition with a dummy

Table of Contents

DUMMY_METHOD_DEFINITION  = 'public function unserialize($string) {} '
apply()  : mixed
appendToClass()  : mixed

Constants

Methods

Search results