Cheetah
BlurCommand.php
Go to the documentation of this file.
1 <?php
2 
4 
6 {
13  public function execute($image)
14  {
15  $amount = $this->argument(0)->between(0, 100)->value(1);
16 
17  return $image->getCore()->blurImage(1 * $amount, 0.5 * $amount);
18  }
19 }
Intervention\Image\Imagick\Commands\BlurCommand\execute
execute($image)
Definition: BlurCommand.php:13
php
Intervention\Image\Imagick\Commands\BlurCommand
Definition: BlurCommand.php:6
Intervention\Image\Imagick\Commands
Definition: BackupCommand.php:3
Intervention\Image\Commands\AbstractCommand\argument
argument($key)
Definition: AbstractCommand.php:45
Intervention\Image\Commands\AbstractCommand
Definition: AbstractCommand.php:6