public function eager(string $name, string $type, $factory): self
    {
        $provider = new Provider($type, $factory);
        $this->eager[] = $name;
        return $this->addProvider($name, $provider);
    }