private function addClassProvider($class, Reference $reference)
    {
        if (empty($this->classProviders[$class])) {
            $this->classProviders[$class] = [];
        }
        
        $this->classProviders[$class][] = $reference;
    }