Property | Type | Description | |
---|---|---|---|
$requests | |||
$storage |
Method | Description | |
---|---|---|
__construct ( Asvae\ApiTester\Contracts\StorageInterface $storage ) | RequestRepository constructor. | |
all ( ) : mixed | ||
exists ( integer $id ) : boolean | ||
find ( integer $id ) : |
||
flush ( ) : void | ||
persist ( |
||
remove ( string $id ) |
Method | Description | |
---|---|---|
getDataFromStorage ( ) : mixed | Get all stored data storage. | |
load ( ) : void | Get data from storage and load it into collection. | |
reload ( ) | Replace existing collection with data loaded from storage. |
public __construct ( Asvae\ApiTester\Contracts\StorageInterface $storage ) | ||
$storage | Asvae\ApiTester\Contracts\StorageInterface |
protected getDataFromStorage ( ) : mixed | ||
return | mixed |
protected reload ( ) |