Свойство | Тип | Описание | |
---|---|---|---|
$collection | |||
$filename | |||
$files | |||
$path |
Метод | Описание | |
---|---|---|
__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 ( |
Метод | Описание | |
---|---|---|
createDirectoryIfNotExists ( ) | Make directory path if not exists | |
parseResult ( $content ) : array | Parse result form given string |
Метод | Описание | |
---|---|---|
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 ( ) : |
||
Результат |
public getFilePath ( ) : string | ||
Результат | string |
protected parseResult ( $content ) : array | ||
$content | ||
Результат | array |
protected RequestCollection,Asvae\ApiTester\Collections $collection | ||
Результат |