public function ExifContent::__destruct in Exif 8
Same name and namespace in other branches
- 8.2 src/ExifContent.php \Drupal\exif\ExifContent::__destruct()
Cleanup of artifacts from processing files.
File
- src/
ExifContent.php, line 614
Class
- ExifContent
- Class ExifContent make link between drupal content and file content.
Namespace
Drupal\exifCode
public function __destruct() {
// Get rid of temporary files created for this instance.
foreach ($this->localCopiesOfRemoteFiles as $uri) {
\Drupal::service('file_system')
->unlink($uri);
}
}