public function __construct(RouterInterface $router, ConfigInterface $config) { $this->router = $router; $this->config = $config; }