| Conditions | 4 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function reset($arg = null, Array $options = array()) |
||
|
|
|||
| 44 | { |
||
| 45 | $this->clearAll(); |
||
| 46 | $this->addCommandName(self::GIT_RESET_COMMAND); |
||
| 47 | // if there are options add them. |
||
| 48 | if (! is_null($options)) { |
||
| 49 | foreach ($options as $option) { |
||
| 50 | $this->addCommandArgument($option); |
||
| 51 | } |
||
| 52 | } |
||
| 53 | if($arg!=null){ |
||
| 54 | $this->addCommandSubject2($arg); |
||
| 55 | } |
||
| 56 | |||
| 57 | return $this->getCommand(); |
||
| 58 | } |
||
| 59 | |||
| 70 | } |