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

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

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

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

            return [];
        }
public function getTypePreferences ( $ interfaceOrAbstract ) { $ key = ( $ this -> hasAlias ( $ interfaceOrAbstract ) ) ? 'alias:' . $ interfaceOrAbstract : $ interfaceOrAbstract ; if ( isset ( $ this -> typePreferences [ $ key ] ) ) { return $ this -> typePreferences [ $ key ] ; } return [ ] ; }
Get type preferences

@param  string $interfaceOrAbstract
@return array
Get type preferences