public function setRouter(Symfony\Component\Routing\Router $router)
    {
        $this->router = $router;

        return $this;
    }
public function setRouter(Symfony\Component\Routing\Router $router)
    {
        $this->router = $router;

        return $this;
    }
public function setRouter ( Symfony \ Component \ Routing \ Router $ router ) { $ this -> router = $ router ; return $ this ; }
Sets the Reference to Symfony's routing service.

@param Symfony\Component\Routing\Router $router the router

@return self
Sets the Reference to Symfony s routing service .