Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 621
Zeile 732... Zeile 732...
732
 
732
 
733
        throw new RuntimeException('This driver does not support creating temporary URLs.');
733
        throw new RuntimeException('This driver does not support creating temporary URLs.');
Zeile 734... Zeile 734...
734
    }
734
    }
-
 
735
 
-
 
736
    /**
-
 
737
     * Get a temporary upload URL for the file at the given path.
-
 
738
     *
-
 
739
     * @param  string  $path
-
 
740
     * @param  \DateTimeInterface  $expiration
-
 
741
     * @param  array  $options
-
 
742
     * @return array
-
 
743
     *
-
 
744
     * @throws \RuntimeException
-
 
745
     */
-
 
746
    public function temporaryUploadUrl($path, $expiration, array $options = [])
-
 
747
    {
-
 
748
        if (method_exists($this->adapter, 'temporaryUploadUrl')) {
-
 
749
            return $this->adapter->temporaryUploadUrl($path, $expiration, $options);
-
 
750
        }
-
 
751
 
-
 
752
        throw new RuntimeException('This driver does not support creating temporary upload URLs.');
-
 
753
    }
735
 
754
 
736
    /**
755
    /**
737
     * Concatenate a path to a URL.
756
     * Concatenate a path to a URL.
738
     *
757
     *
739
     * @param  string  $url
758
     * @param  string  $url