public function inject(string $name, $value): void
    {
        if ($this->has($name)) {
            throw new InvalidArgumentException("Attempted override of existing component: {$name}");
        }

        $this->values[$name] = $value;
        $this->active[$name] = true;
    }