| 1 | <?php  | 
            ||
| 16 | class RevParseCommand implements Command { | 
            ||
| 17 | /**  | 
            ||
| 18 | * Reference.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @var string  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $ref;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Initialiser.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @param string $ref  | 
            ||
| 28 | */  | 
            ||
| 29 | 1 |     public function __construct($ref) { | 
            |
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @override Command  | 
            ||
| 35 | */  | 
            ||
| 36 | 1 |     public function getCommandLine() { | 
            |
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * Get the reference.  | 
            ||
| 42 | *  | 
            ||
| 43 | * @return string  | 
            ||
| 44 | *  | 
            ||
| 45 | * @codeCoverageIgnore  | 
            ||
| 46 | */  | 
            ||
| 47 |     public function getRef() { | 
            ||
| 50 | |||
| 51 | /**  | 
            ||
| 52 | * Set the reference.  | 
            ||
| 53 | *  | 
            ||
| 54 | * @param string $ref  | 
            ||
| 55 | *  | 
            ||
| 56 | * @codeCoverageIgnore  | 
            ||
| 57 | */  | 
            ||
| 58 |     public function setRef($ref) { | 
            ||
| 61 | }  | 
            ||
| 62 |