public function execute($image)
    {
        $backupName = $this->argument(0)->value();

        // clone current image resource
        $clone = clone $image;
        $image->setBackup($clone->getCore(), $backupName);

        return true;
    }
public function execute($image)
    {
        $backupName = $this->argument(0)->value();

        // clone current image resource
        $clone = clone $image;
        $image->setBackup($clone->getCore(), $backupName);

        return true;
    }
public function execute ( $ image ) { $ backupName = $ this -> argument ( 0 ) -> value ( ) ; // clone current image resource $ clone = clone $ image ; $ image -> setBackup ( $ clone -> getCore ( ) , $ backupName ) ; return true ; }
Saves a backups of current state of image core

@param  \Intervention\Image\Image $image
@return boolean
Saves a backups of current state of image core