public function FlysystemFactory::__sleep in Flysystem 7
Prevents the class from being serialized.
File
- src/
FlysystemFactory.php, line 129 - Contains \Drupal\flysystem\FlysystemFactory.
Class
- FlysystemFactory
- A factory for Flysystem filesystems.
Namespace
Drupal\flysystemCode
public function __sleep() {
$message = sprintf('%s can not be serialized. This probably means you are serializing an object that has an indirect reference to the %s object. Adjust your code so that is not necessary.', __CLASS__, __CLASS__);
throw new \LogicException($message);
}