public function getFullPathAttribute()
    {
        $config = sprintf('filesystems.%s.root', $this->getDisk());

        $default = storage_path('app');

        $basePath = config($config, $default);

        return $basePath.DIRECTORY_SEPARATOR.$this->file_path;
    }
public function getFullPathAttribute()
    {
        $config = sprintf('filesystems.%s.root', $this->getDisk());

        $default = storage_path('app');

        $basePath = config($config, $default);

        return $basePath.DIRECTORY_SEPARATOR.$this->file_path;
    }
public function getFullPathAttribute ( ) { $ config = sprintf ( 'filesystems.%s.root' , $ this -> getDisk ( ) ) ; $ default = storage_path ( 'app' ) ; $ basePath = config ( $ config , $ default ) ; return $ basePath . DIRECTORY_SEPARATOR . $ this -> file_path ; }
Returns the full path of the uploaded file.

@return string
Returns the full path of the uploaded file .