private function buildDriver($driver, array $extra = [])
    {
        $router  = $this->app->make(\Illuminate\Contracts\Routing\Registrar::class);
        $class   = Seo::getConfig("redirector.drivers.$driver.class");
        $options = Seo::getConfig("redirector.drivers.$driver.options", []);

        return new $class($router, array_merge($extra, $options));
    }
private function buildDriver($driver, array $extra = [])
    {
        $router  = $this->app->make(\Illuminate\Contracts\Routing\Registrar::class);
        $class   = Seo::getConfig("redirector.drivers.$driver.class");
        $options = Seo::getConfig("redirector.drivers.$driver.options", []);

        return new $class($router, array_merge($extra, $options));
    }
private function buildDriver ( $ driver , array $ extra = [ ] ) { $ router = $ this -> app -> make ( \ Illuminate \ Contracts \ Routing \ Registrar :: class ) ; $ class = Seo :: getConfig ( "redirector.drivers.$driver.class" ) ; $ options = Seo :: getConfig ( "redirector.drivers.$driver.options" , [ ] ) ; return new $ class ( $ router , array_merge ( $ extra , $ options ) ) ; }
Build the redirector.

@param  string  $driver
@param  array   $extra

@return mixed
Build the redirector .