public function path($style = '')
    {
        if ($this->getAttribute('filename')) {
            return $this->getInterpolator()->interpolate($this->url, $style);
        }

        return '';
    }
public function path($style = '')
    {
        if ($this->getAttribute('filename')) {
            return $this->getInterpolator()->interpolate($this->url, $style);
        }

        return '';
    }
public function path ( $ style = '' ) { if ( $ this -> getAttribute ( 'filename' ) ) { return $ this -> getInterpolator ( ) -> interpolate ( $ this -> url , $ style ) ; } return '' ; }
Generates the filesystem path to an uploaded file.

@param string $style

@return string
Generates the filesystem path to an uploaded file .