프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$newTag | |||
$oldTag | string Name of the old git tag to use |
메소드 | 설명 | |
---|---|---|
__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 | |
리턴 | mixed | string file contents on success, false on failure. |
public parseEmails ( $contents ) : array | ||
$contents | string | |
리턴 | array |