File manager - Edit - /var/www/payraty/lms_main/vendor/intervention/image/src/Intervention/Image/Imagick/Commands/DestroyCommand.php
Back
<?php namespace Intervention\Image\Imagick\Commands; use Intervention\Image\Commands\AbstractCommand; class DestroyCommand extends AbstractCommand { /** * Destroys current image core and frees up memory * * @param \Intervention\Image\Image $image * @return boolean */ public function execute($image) { // destroy image core $image->getCore()->clear(); // destroy backups foreach ($image->getBackups() as $backup) { $backup->clear(); } return true; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings