public function addPrepend(ContainerInterface $container, $name = null)
    {
        if ($name !== null) {
            unset($this->containers[$name]);
            $this->containers = array_merge([$name => $container], $this->containers);
        } else {
            array_unshift($this->containers, $container);
        }
    }