Method | Description | |
---|---|---|
getNextId ( ) | TODO: PHPDoc | |
listPackages ( ) | TODO: PHPDoc | |
readPackage ( |
Reads the $package information from the storage. | |
writePackage ( |
Writes the $package to the storage |
public readPackage ( |
||
$package | ||
return | array | null | array of two elements: 0 - string sha256 hash of the package 1 - array[] releases Returns null, when package does not exist. |
public writePackage ( |
||
$package | ||
return | string | hash or the package on success |