public createParser ( string[] | null $methods = [] ) : |
||
$methods | string[] | null | |
Результат |
public function createParser($methods = [])
{
$parser = $this->getMock(HttpParser::class, $methods, [], '', false);
$this->setProtectedProperty($this->reader, 'parser', $parser);
return $parser;
}