protected function process($agent)
    {
        $pipeline = new Pipeline([
            new Stages\UAParser,
            new Stages\MobileDetect,
            new Stages\CrawlerDetect,
            new Stages\DeviceDetector,
            new Stages\BrowserDetect,
        ]);

        return $pipeline->process(new Payload($agent));
    }
protected function process($agent)
    {
        $pipeline = new Pipeline([
            new Stages\UAParser,
            new Stages\MobileDetect,
            new Stages\CrawlerDetect,
            new Stages\DeviceDetector,
            new Stages\BrowserDetect,
        ]);

        return $pipeline->process(new Payload($agent));
    }
protected function process ( $ agent ) { $ pipeline = new Pipeline ( [ new Stages \ UAParser , new Stages \ MobileDetect , new Stages \ CrawlerDetect , new Stages \ DeviceDetector , new Stages \ BrowserDetect , ] ) ; return $ pipeline -> process ( new Payload ( $ agent ) ) ; }
Pipe the payload through the stages.

@param  string $agent
@return ResultInterface
Pipe the payload through the stages .