public function __construct(ContainerInterface $container, array $routes, array $data) { $this->container = $container; $this->routes = $routes; parent::__construct($data); }