메소드 |
설명 |
|
__call ( string $method, array $arguments = [] ) : mixed |
Handle call to __call method. |
|
__construct ( mixed $path, Illuminate\Filesystem\Filesystem $filesystem = null ) |
The constructor. |
|
__get ( string $key ) : mixed |
Handle magic method __get. |
|
__toString ( ) : string |
Handle call to __toString method. |
|
get ( $key, null $default = null ) : mixed |
Get the specified attribute from json file. |
|
getAttributes ( ) : array |
Get file contents as array. |
|
getContents ( ) : string |
Get file content. |
|
getFilesystem ( ) : Illuminate\Filesystem\Filesystem |
Get filesystem. |
|
getPath ( ) : string |
Get path. |
|
make ( string $path, Illuminate\Filesystem\Filesystem $filesystem = null ) : static |
Make new instance. |
|
save ( ) : boolean |
Save the current attributes array to the file storage. |
|
set ( string $key, mixed $value ) |
Set a specific key & value. |
|
setFilesystem ( Illuminate\Filesystem\Filesystem $filesystem ) |
Set filesystem. |
|
setPath ( mixed $path ) |
Set path. |
|
toJsonPretty ( array $data = null ) : string |
Convert the given array data to pretty json. |
|
update ( array $data ) : boolean |
Update json contents from array data. |
|