Метод | Описание | |
---|---|---|
__construct ( string $path ) | ||
append ( Puli\Repository\Api\Resource\PuliResource $resource ) | ||
clear ( ) | ||
contains ( $path ) | ||
getVersions ( $path, Puli\Repository\Api\ResourceRepository $repository = null ) | ||
purge ( $path ) |
Метод | Описание | |
---|---|---|
flush ( ) | Writes the JSON file. | |
load ( ) | Loads the JSON file. |
public __construct ( string $path ) | ||
$path | string | The path to the JSON file. |
public append ( Puli\Repository\Api\Resource\PuliResource $resource ) | ||
$resource | Puli\Repository\Api\Resource\PuliResource |
public getVersions ( $path, Puli\Repository\Api\ResourceRepository $repository = null ) | ||
$repository | Puli\Repository\Api\ResourceRepository |