Cheetah
InterlaceCommand.php
Go to the documentation of this file.
1 <?php
2 
4 
6 {
13  public function execute($image)
14  {
15  $mode = $this->argument(0)->type('bool')->value(true);
16 
17  imageinterlace($image->getCore(), $mode);
18 
19  return true;
20  }
21 }
Intervention\Image\Gd\Commands
Definition: BackupCommand.php:3
Intervention\Image\Gd\Commands\InterlaceCommand\execute
execute($image)
Definition: InterlaceCommand.php:13
php
Intervention\Image\Commands\AbstractCommand\argument
argument($key)
Definition: AbstractCommand.php:45
Intervention\Image\Commands\AbstractCommand
Definition: AbstractCommand.php:6
Intervention\Image\Gd\Commands\InterlaceCommand
Definition: InterlaceCommand.php:6