Свойство | Type | Description | |
---|---|---|---|
$newTag | |||
$oldTag | string Name of the old git tag to use |
Méthode | Description | |
---|---|---|
__construct ( $argv = [] ) | Constructor. | |
execute ( ) | Execute the command | |
fetchFileVersion ( $repository, $filename, $tag ) : mixed | Fetch a particular version of a file from github. | |
parseEmails ( $contents ) : array | Parse into structures the XML contents of an email data file. | |
usage ( ) | Print command usage information. |
public __construct ( $argv = [] ) | ||
$argv | array command-line arguments If specified, the first argument should be the file to parse |
public fetchFileVersion ( $repository, $filename, $tag ) : mixed | ||
$repository | string ojs, pkp-lib, etc. | |
$filename | string | |
$tag | string | |
Résultat | mixed | string file contents on success, false on failure. |
public parseEmails ( $contents ) : array | ||
$contents | string | |
Résultat | array |