protected function deleteQueueStorageFile(EntityInterface $taskLogEntity)
    {
        if ($filename = $taskLogEntity->getFileNameFromReport()) {
            $file = $this->getQueueStorage()
                ->getFile($filename);

            if($file->exists()) {
                $file->delete();
            }
        }

        return false;
    }
protected function deleteQueueStorageFile(EntityInterface $taskLogEntity)
    {
        if ($filename = $taskLogEntity->getFileNameFromReport()) {
            $file = $this->getQueueStorage()
                ->getFile($filename);

            if($file->exists()) {
                $file->delete();
            }
        }

        return false;
    }
protected function deleteQueueStorageFile ( EntityInterface $ taskLogEntity ) { if ( $ filename = $ taskLogEntity -> getFileNameFromReport ( ) ) { $ file = $ this -> getQueueStorage ( ) -> getFile ( $ filename ) ; if ( $ file -> exists ( ) ) { $ file -> delete ( ) ; } } return false ; }
Deletes a filesystem file stored under task queue storage

@param EntityInterface $taskLogEntity
@return bool
Deletes a filesystem file stored under task queue storage