@@ -134,6 +134,9 @@ |
||
| 134 | 134 | $this->commandProcessor()->hookManager()->add($commandName, $hook, $callback); |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | + /** |
|
| 138 | + * @param integer $n |
|
| 139 | + */ |
|
| 137 | 140 | protected function getNthWord($string, $n, $default, $delimiter = ' ') |
| 138 | 141 | { |
| 139 | 142 | $words = explode($delimiter, $string); |