public function __construct(ContainerInterface $container, array $map) { $this->container = $container; $this->map = $map; $this->contexts = new \SplObjectStorage(); }