Cheetah
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Intervention\Image\Commands\AbstractCommand Class Reference
Inheritance diagram for Intervention\Image\Commands\AbstractCommand:
Intervention\Image\Commands\ChecksumCommand Intervention\Image\Commands\CircleCommand Intervention\Image\Commands\EllipseCommand Intervention\Image\Commands\ExifCommand Intervention\Image\Commands\IptcCommand Intervention\Image\Commands\LineCommand Intervention\Image\Commands\OrientateCommand Intervention\Image\Commands\PolygonCommand Intervention\Image\Commands\RectangleCommand Intervention\Image\Commands\ResponseCommand Intervention\Image\Commands\TextCommand Intervention\Image\Gd\Commands\BackupCommand Intervention\Image\Gd\Commands\BlurCommand Intervention\Image\Gd\Commands\BrightnessCommand Intervention\Image\Gd\Commands\ColorizeCommand Intervention\Image\Gd\Commands\ContrastCommand Intervention\Image\Gd\Commands\DestroyCommand Intervention\Image\Gd\Commands\FillCommand Intervention\Image\Gd\Commands\GammaCommand Intervention\Image\Gd\Commands\GetSizeCommand Intervention\Image\Gd\Commands\GreyscaleCommand Intervention\Image\Gd\Commands\InsertCommand Intervention\Image\Gd\Commands\InterlaceCommand Intervention\Image\Gd\Commands\InvertCommand Intervention\Image\Gd\Commands\LimitColorsCommand Intervention\Image\Gd\Commands\MaskCommand Intervention\Image\Gd\Commands\OpacityCommand Intervention\Image\Gd\Commands\PickColorCommand Intervention\Image\Gd\Commands\PixelateCommand Intervention\Image\Gd\Commands\PixelCommand Intervention\Image\Gd\Commands\ResetCommand Intervention\Image\Gd\Commands\ResizeCanvasCommand Intervention\Image\Gd\Commands\ResizeCommand Intervention\Image\Gd\Commands\RotateCommand Intervention\Image\Gd\Commands\SharpenCommand Intervention\Image\Imagick\Commands\BackupCommand Intervention\Image\Imagick\Commands\BlurCommand Intervention\Image\Imagick\Commands\BrightnessCommand Intervention\Image\Imagick\Commands\ColorizeCommand Intervention\Image\Imagick\Commands\ContrastCommand Intervention\Image\Imagick\Commands\CropCommand Intervention\Image\Imagick\Commands\DestroyCommand Intervention\Image\Imagick\Commands\FillCommand Intervention\Image\Imagick\Commands\FitCommand Intervention\Image\Imagick\Commands\FlipCommand Intervention\Image\Imagick\Commands\GammaCommand Intervention\Image\Imagick\Commands\GetSizeCommand Intervention\Image\Imagick\Commands\GreyscaleCommand Intervention\Image\Imagick\Commands\InsertCommand Intervention\Image\Imagick\Commands\InterlaceCommand Intervention\Image\Imagick\Commands\InvertCommand Intervention\Image\Imagick\Commands\LimitColorsCommand Intervention\Image\Imagick\Commands\MaskCommand Intervention\Image\Imagick\Commands\OpacityCommand Intervention\Image\Imagick\Commands\PickColorCommand Intervention\Image\Imagick\Commands\PixelateCommand Intervention\Image\Imagick\Commands\PixelCommand Intervention\Image\Imagick\Commands\ResetCommand Intervention\Image\Imagick\Commands\ResizeCanvasCommand Intervention\Image\Imagick\Commands\ResizeCommand Intervention\Image\Imagick\Commands\RotateCommand Intervention\Image\Imagick\Commands\SharpenCommand Intervention\Image\Imagick\Commands\TrimCommand

Public Member Functions

 execute ($image)
 
 __construct ($arguments)
 
 argument ($key)
 
 getOutput ()
 
 hasOutput ()
 
 setOutput ($value)
 

Public Attributes

 $arguments
 

Protected Attributes

 $output
 

Detailed Description

Definition at line 5 of file AbstractCommand.php.

Constructor & Destructor Documentation

◆ __construct()

Intervention\Image\Commands\AbstractCommand::__construct (   $arguments)

Creates new command instance

Parameters
array$arguments

Definition at line 34 of file AbstractCommand.php.

Member Function Documentation

◆ argument()

Intervention\Image\Commands\AbstractCommand::argument (   $key)

Creates new argument instance from given argument key

Parameters
integer$key
Returns
\Intervention\Image\Commands\Argument

Definition at line 45 of file AbstractCommand.php.

◆ execute()

Intervention\Image\Commands\AbstractCommand::execute (   $image)
abstract

Executes current command on given image

Parameters
\Intervention\Image\Image$image
Returns
mixed

Reimplemented in Intervention\Image\Imagick\Commands\WidenCommand, Intervention\Image\Imagick\Commands\TrimCommand, Intervention\Image\Imagick\Commands\SharpenCommand, Intervention\Image\Imagick\Commands\RotateCommand, Intervention\Image\Imagick\Commands\ResizeCommand, Intervention\Image\Imagick\Commands\ResizeCanvasCommand, Intervention\Image\Imagick\Commands\ResetCommand, Intervention\Image\Imagick\Commands\PixelCommand, Intervention\Image\Imagick\Commands\PixelateCommand, Intervention\Image\Imagick\Commands\PickColorCommand, Intervention\Image\Imagick\Commands\OpacityCommand, Intervention\Image\Imagick\Commands\MaskCommand, Intervention\Image\Imagick\Commands\LimitColorsCommand, Intervention\Image\Imagick\Commands\InvertCommand, Intervention\Image\Imagick\Commands\InterlaceCommand, Intervention\Image\Imagick\Commands\InsertCommand, Intervention\Image\Imagick\Commands\HeightenCommand, Intervention\Image\Imagick\Commands\GreyscaleCommand, Intervention\Image\Imagick\Commands\GammaCommand, Intervention\Image\Imagick\Commands\FlipCommand, Intervention\Image\Imagick\Commands\FitCommand, Intervention\Image\Imagick\Commands\FillCommand, Intervention\Image\Imagick\Commands\DestroyCommand, Intervention\Image\Imagick\Commands\CropCommand, Intervention\Image\Imagick\Commands\ContrastCommand, Intervention\Image\Imagick\Commands\ColorizeCommand, Intervention\Image\Imagick\Commands\BrightnessCommand, Intervention\Image\Imagick\Commands\BlurCommand, Intervention\Image\Imagick\Commands\BackupCommand, Intervention\Image\Gd\Commands\WidenCommand, Intervention\Image\Gd\Commands\TrimCommand, Intervention\Image\Gd\Commands\SharpenCommand, Intervention\Image\Gd\Commands\RotateCommand, Intervention\Image\Gd\Commands\ResizeCommand, Intervention\Image\Gd\Commands\ResizeCanvasCommand, Intervention\Image\Gd\Commands\ResetCommand, Intervention\Image\Gd\Commands\PixelCommand, Intervention\Image\Gd\Commands\PixelateCommand, Intervention\Image\Gd\Commands\PickColorCommand, Intervention\Image\Gd\Commands\OpacityCommand, Intervention\Image\Gd\Commands\MaskCommand, Intervention\Image\Gd\Commands\LimitColorsCommand, Intervention\Image\Gd\Commands\InvertCommand, Intervention\Image\Gd\Commands\InterlaceCommand, Intervention\Image\Gd\Commands\InsertCommand, Intervention\Image\Gd\Commands\HeightenCommand, Intervention\Image\Gd\Commands\GreyscaleCommand, Intervention\Image\Gd\Commands\GetSizeCommand, Intervention\Image\Gd\Commands\GammaCommand, Intervention\Image\Gd\Commands\FlipCommand, Intervention\Image\Gd\Commands\FitCommand, Intervention\Image\Gd\Commands\FillCommand, Intervention\Image\Gd\Commands\DestroyCommand, Intervention\Image\Gd\Commands\CropCommand, Intervention\Image\Gd\Commands\ContrastCommand, Intervention\Image\Gd\Commands\ColorizeCommand, Intervention\Image\Gd\Commands\BrightnessCommand, Intervention\Image\Gd\Commands\BlurCommand, Intervention\Image\Gd\Commands\BackupCommand, Intervention\Image\Commands\TextCommand, Intervention\Image\Commands\ResponseCommand, Intervention\Image\Commands\RectangleCommand, Intervention\Image\Commands\PolygonCommand, Intervention\Image\Commands\OrientateCommand, Intervention\Image\Commands\LineCommand, Intervention\Image\Commands\IptcCommand, Intervention\Image\Commands\ExifCommand, Intervention\Image\Commands\EllipseCommand, Intervention\Image\Commands\CircleCommand, and Intervention\Image\Commands\ChecksumCommand.

◆ getOutput()

Intervention\Image\Commands\AbstractCommand::getOutput ( )

Returns output data of current command

Returns
mixed

Definition at line 55 of file AbstractCommand.php.

◆ hasOutput()

Intervention\Image\Commands\AbstractCommand::hasOutput ( )

Determines if current instance has output data

Returns
boolean

Definition at line 65 of file AbstractCommand.php.

◆ setOutput()

Intervention\Image\Commands\AbstractCommand::setOutput (   $value)

Sets output data of current command

Parameters
mixed$value

Definition at line 75 of file AbstractCommand.php.

Member Data Documentation

◆ $arguments

Intervention\Image\Commands\AbstractCommand::$arguments

Definition at line 12 of file AbstractCommand.php.

◆ $output

Intervention\Image\Commands\AbstractCommand::$output
protected

Definition at line 19 of file AbstractCommand.php.


The documentation for this class was generated from the following file: