public function checkAlias(array $configuration)
    {
        foreach ($configuration as $classNamespace => $classConfiguration) {
            if (
                isset($classConfiguration['alias']) &&
                $classConfiguration['alias']
            ) {
                return $this;
            }
        }

        throw new TranslationDefinitionException();
    }
public function checkAlias(array $configuration)
    {
        foreach ($configuration as $classNamespace => $classConfiguration) {
            if (
                isset($classConfiguration['alias']) &&
                $classConfiguration['alias']
            ) {
                return $this;
            }
        }

        throw new TranslationDefinitionException();
    }
public function checkAlias ( array $ configuration ) { foreach ( $ configuration as $ classNamespace => $ classConfiguration ) { if ( isset ( $ classConfiguration [ 'alias' ] ) && $ classConfiguration [ 'alias' ] ) { return $ this ; } } throw new TranslationDefinitionException ( ) ; }
Check alias.

@param array $configuration Configuration

@return $this Self object

@throws TranslationDefinitionException Namespace invalid or not found
Check alias .