Property | Type | Description | |
---|---|---|---|
$collection | |||
$filename | |||
$files | |||
$path |
Method | Description | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files, |
Storage constructor. | |
get ( ) : |
Return array parsed from file content. | |
getFilePath ( ) : string | Return full file path. | |
getFilename ( ) : string | ||
getPath ( ) : string | Return path to folder that can contain file. | |
put ( |
Method | Description | |
---|---|---|
createDirectoryIfNotExists ( ) | Make directory path if not exists | |
parseResult ( $content ) : array | Parse result form given string |
Method | Description | |
---|---|---|
convertToJson ( $data ) : null | string | ||
makeCollection ( array $data = [] ) : |
||
prepareContent ( Traversable | array $data ) : string | Prepare content string from given data |
public __construct ( Illuminate\Filesystem\Filesystem $files, |
||
$files | Illuminate\Filesystem\Filesystem | |
$collection | ||
$path |
protected createDirectoryIfNotExists ( ) |
public get ( ) : |
||
return |
protected parseResult ( $content ) : array | ||
$content | ||
return | array |
protected RequestCollection,Asvae\ApiTester\Collections $collection | ||
return |