public function checkNamespace(array $configuration)
    {
        foreach ($configuration as $classNamespace => $classConfiguration) {
            if (class_exists($classNamespace) || interface_exists($classNamespace)) {
                return $this;
            }
        }

        throw new TranslationDefinitionException();
    }
public function checkNamespace(array $configuration)
    {
        foreach ($configuration as $classNamespace => $classConfiguration) {
            if (class_exists($classNamespace) || interface_exists($classNamespace)) {
                return $this;
            }
        }

        throw new TranslationDefinitionException();
    }
public function checkNamespace ( array $ configuration ) { foreach ( $ configuration as $ classNamespace => $ classConfiguration ) { if ( class_exists ( $ classNamespace ) || interface_exists ( $ classNamespace ) ) { return $ this ; } } throw new TranslationDefinitionException ( ) ; }
Check namespace.

@param array $configuration Configuration

@return $this Self object

@throws TranslationDefinitionException Namespace invalid or not found
Check namespace .