public function testParse2() { $str = new StringParser('arg1 arg2 arg3', 10); $args = $str->parse(); #\Doctrine\Common\Util\Debug::dump($args); #$this->assertEquals(array('arg1', 'arg2'), $args); $this->assertTrue(true); }
public function msgParseString($msgRaw, $argsMax = null) { $str = new StringParser($msgRaw, $argsMax); return $str->parse(); }