public function pushParser(Useragent\ParserInterface $parser)
    {
        $this->parser = $parser;
        if ($this->ua) {
            $this->setUA($this->ua);
        }
    }
public function pushParser(Useragent\ParserInterface $parser)
    {
        $this->parser = $parser;
        if ($this->ua) {
            $this->setUA($this->ua);
        }
    }
public function pushParser ( Useragent \ ParserInterface $ parser ) { $ this -> parser = $ parser ; if ( $ this -> ua ) { $ this -> setUA ( $ this -> ua ) ; } }
Set the useragent
@param string $ua
Set the useragent