Storable
trait Storable
Properties
| protected string|null | $randomStorageName | The cached copy of the file's random name. |
Methods
string|false
store(string $path = '', UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk.
string|false
storePublicly(string $path = '', UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk with public visibility.
string|false
storePubliclyAs(string $path, string|null $name = null, UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk with public visibility.
string|false
storeAs(string $path, string|null $name = null, UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk.
Details
at line 21
string|false
store(string $path = '', UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk.
at line 29
string|false
storePublicly(string $path = '', UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk with public visibility.
at line 39
string|false
storePubliclyAs(string $path, string|null $name = null, UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk with public visibility.
at line 53
string|false
storeAs(string $path, string|null $name = null, UnitEnum|string|null $disk = null, array $options = [])
Store the file on a filesystem disk.