File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -335,22 +335,22 @@ public static function getValidOptions()
335335 * Serialization protection for frameworks
336336 * with profiler such as Symfony, etc.
337337 */
338- public function __sleep ()
338+ /* public function __sleep()
339339 {
340340 $this->itemInstances = array_keys($this->itemInstances);
341341 return (array) array_keys(get_object_vars($this));
342- }
342+ }*/
343343
344344 /**
345345 * Serialization protection for frameworks
346346 * with profiler such as Symfony, etc.
347347 */
348- public function __wakeup ()
348+ /* public function __wakeup()
349349 {
350350 $itemInstances = $this->itemInstances;
351351 $this->itemInstances = [];
352352 foreach ($itemInstances as $itemInstance) {
353353 $this->itemInstances[$itemInstance] = $this->getItem($itemInstance);
354354 }
355- }
355+ }*/
356356}
Original file line number Diff line number Diff line change @@ -380,13 +380,13 @@ public function getRemovedTags()
380380 /**
381381 * @throws \RuntimeException
382382 */
383- final public function __sleep ()
383+ /* final public function __sleep()
384384 {
385385 $info = get_object_vars($this);
386386 $info[ 'driver' ] = 'object(' . get_class($info[ 'driver' ]) . ')';
387387
388388 return (array) $info;
389- }
389+ }*/
390390
391391 /**
392392 * Prevent recursions for Debug (php 5.6+)
You can’t perform that action at this time.
0 commit comments