public function hasConfig($aliasOrClass)
        {
            $key = ($this->hasAlias($aliasOrClass)) ? 'alias:' . $this->getBaseAlias($aliasOrClass) : $aliasOrClass;

            if (!isset($this->configurations[$key])) {
                return false;
            }

            if ($this->configurations[$key] === $this->configurationTemplate) {
                return false;
            }

            return true;
        }
public function hasConfig($aliasOrClass)
        {
            $key = ($this->hasAlias($aliasOrClass)) ? 'alias:' . $this->getBaseAlias($aliasOrClass) : $aliasOrClass;

            if (!isset($this->configurations[$key])) {
                return false;
            }

            if ($this->configurations[$key] === $this->configurationTemplate) {
                return false;
            }

            return true;
        }
public function hasConfig ( $ aliasOrClass ) { $ key = ( $ this -> hasAlias ( $ aliasOrClass ) ) ? 'alias:' . $ this -> getBaseAlias ( $ aliasOrClass ) : $ aliasOrClass ; if ( ! isset ( $ this -> configurations [ $ key ] ) ) { return false ; } if ( $ this -> configurations [ $ key ] === $ this -> configurationTemplate ) { return false ; } return true ; }
Check for configuration

@param  string $aliasOrClass
@return bool
Check for configuration