public function getTypePreferences($interfaceOrAbstract)
        {
            $key = ($this->hasAlias($interfaceOrAbstract)) ? 'alias:' . $interfaceOrAbstract : $interfaceOrAbstract;

            if (isset($this->typePreferences[$key])) {
                return $this->typePreferences[$key];
            }

            return [];
        }