Example #1
0
 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);
 }
Example #2
0
 public function msgParseString($msgRaw, $argsMax = null)
 {
     $str = new StringParser($msgRaw, $argsMax);
     return $str->parse();
 }