PATH:
home
/
lab2454c
/
tripvare.com
/
backup
/
vendor
/
intervention
/
image
/
src
/
Intervention
/
Image
/
Commands
<?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; } }
[-] StreamCommand.php
[edit]
[-] OrientateCommand.php
[edit]
[-] ResponseCommand.php
[edit]
[+]
..
[-] CircleCommand.php
[edit]
[-] RectangleCommand.php
[edit]
[-] LineCommand.php
[edit]
[-] IptcCommand.php
[edit]
[-] Argument.php
[edit]
[-] ChecksumCommand.php
[edit]
[-] EllipseCommand.php
[edit]
[-] TextCommand.php
[edit]
[-] ExifCommand.php
[edit]
[-] PolygonCommand.php
[edit]
[-] AbstractCommand.php
[edit]
[-] PsrResponseCommand.php
[edit]