protected function generateBasename()
    {
        $filename = md5($this->image . $this->height . $this->width);

        if (isset(static::$config['default_extension'])) {

            $extension = static::$config['default_extension'];

        } else {

            $extension = pathinfo($this->image, PATHINFO_EXTENSION);

        }

        return $filename . '.' . $extension;   
    }
protected function generateBasename()
    {
        $filename = md5($this->image . $this->height . $this->width);

        if (isset(static::$config['default_extension'])) {

            $extension = static::$config['default_extension'];

        } else {

            $extension = pathinfo($this->image, PATHINFO_EXTENSION);

        }

        return $filename . '.' . $extension;   
    }
protected function generateBasename ( ) { $ filename = md5 ( $ this -> image . $ this -> height . $ this -> width ) ; if ( isset ( static :: $ config [ 'default_extension' ] ) ) { $ extension = static :: $ config [ 'default_extension' ] ; } else { $ extension = pathinfo ( $ this -> image , PATHINFO_EXTENSION ) ; } return $ filename . '.' . $ extension ; }
Generate basename from the destiny file
@return string
Generate basename from the destiny file