public function save(Picture $picture)
    {
        $pictureFile = $this->getPath($picture);

        if(!$this->isFileActual($pictureFile, $picture))
        {
            $picture->save($pictureFile);
        }
    }
public function save(Picture $picture)
    {
        $pictureFile = $this->getPath($picture);

        if(!$this->isFileActual($pictureFile, $picture))
        {
            $picture->save($pictureFile);
        }
    }
public function save ( Picture $ picture ) { $ pictureFile = $ this -> getPath ( $ picture ) ; if ( ! $ this -> isFileActual ( $ pictureFile , $ picture ) ) { $ picture -> save ( $ pictureFile ) ; } }
Save picture variant to generator storage.
@param Picture $picture
@return void
Save picture variant to generator storage .