/var/www/flurhymez/vendor/intervention/image/src/Intervention/Image/Commands
NameSizeModeActions
AbstractCommand.php14800644editdlrm
Argument.php57120644editdlrm
ChecksumCommand.php6090644editdlrm
CircleCommand.php9250644editdlrm
EllipseCommand.php10020644editdlrm
ExifCommand.php19640644editdlrm
IptcCommand.php31150644editdlrm
LineCommand.php9680644editdlrm
OrientateCommand.php9590644editdlrm
PolygonCommand.php12940644editdlrm
PsrResponseCommand.php12060644editdlrm
RectangleCommand.php10180644editdlrm
ResponseCommand.php5600644editdlrm
StreamCommand.php10230644editdlrm
TextCommand.php8310644editdlrm
Edit: /var/www/flurhymez/vendor/intervention/image/src/Intervention/Image/Commands/RectangleCommand.php (1018B)
argument(0)->type('numeric')->required()->value(); $y1 = $this->argument(1)->type('numeric')->required()->value(); $x2 = $this->argument(2)->type('numeric')->required()->value(); $y2 = $this->argument(3)->type('numeric')->required()->value(); $callback = $this->argument(4)->type('closure')->value(); $rectangle_classname = sprintf('\Intervention\Image\%s\Shapes\RectangleShape', $image->getDriver()->getDriverName()); $rectangle = new $rectangle_classname($x1, $y1, $x2, $y2); if ($callback instanceof Closure) { $callback($rectangle); } $rectangle->applyToImage($image, $x1, $y1); return true; } }