public function quality($quality = null)
    {
        if ($quality) {
            if (!$this->image) {
                $this->image();
            }

            $this->quality = $quality;

            return $this;
        }

        return $this->quality;
    }
public function quality($quality = null)
    {
        if ($quality) {
            if (!$this->image) {
                $this->image();
            }

            $this->quality = $quality;

            return $this;
        }

        return $this->quality;
    }
public function quality ( $ quality = null ) { if ( $ quality ) { if ( ! $ this -> image ) { $ this -> image ( ) ; } $ this -> quality = $ quality ; return $ this ; } return $ this -> quality ; }
Sets or gets the quality of the image

@param  int $quality 0-100 quality
@return int|$this
Sets or gets the quality of the image