����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 216.73.216.178 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/www/vendor/intervention/image/src/Intervention/Image/Commands/ |
Upload File : |
<?php namespace Intervention\Image\Commands; use Intervention\Image\Commands\Argument; abstract class AbstractCommand { /** * Arguments of command * * @var array */ public $arguments; /** * Output of command * * @var mixed */ protected $output; /** * Executes current command on given image * * @param \Intervention\Image\Image $image * @return mixed */ abstract public function execute($image); /** * Creates new command instance * * @param array $arguments */ public function __construct($arguments) { $this->arguments = $arguments; } /** * Creates new argument instance from given argument key * * @param int $key * @return \Intervention\Image\Commands\Argument */ public function argument($key) { return new Argument($this, $key); } /** * Returns output data of current command * * @return mixed */ public function getOutput() { return $this->output ? $this->output : null; } /** * Determines if current instance has output data * * @return boolean */ public function hasOutput() { return ! is_null($this->output); } /** * Sets output data of current command * * @param mixed $value */ public function setOutput($value) { $this->output = $value; } }