Neos\Flow\ResourceManagement\PersistentResource::shutdownObject PHP Метод

shutdownObject() публичный Метод

Note: we can't use __destruct() here because this would lead Doctrine to create a proxy method __destruct() which will run __load(), which in turn will trigger the SQL protection in Flow Security, which will then discover that a possibly previously existing session has been half-destroyed already (see FLOW-121).
public shutdownObject ( ) : void
Результат void
    public function shutdownObject()
    {
        if ($this->temporaryLocalCopyPathAndFilename !== null) {
            unlink($this->temporaryLocalCopyPathAndFilename);
        }
    }