File manager - Edit - /var/www/payraty/lms_main/vendor/intervention/image/src/Intervention/Image/Commands/ResponseCommand.php
Back
<?php namespace Intervention\Image\Commands; use Intervention\Image\Response; class ResponseCommand extends AbstractCommand { /** * Builds HTTP response from given image * * @param \Intervention\Image\Image $image * @return boolean */ public function execute($image) { $format = $this->argument(0)->value(); $quality = $this->argument(1)->between(0, 100)->value(); $response = new Response($image, $format, $quality); $this->setOutput($response->make()); return true; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings