private function getTranslatableEntityConfiguration($entity)
    {
        $entityNamespace = get_class($entity);
        $classStack = $this->getNamespacesFromClass($entityNamespace);

        foreach ($classStack as $classNamespace) {
            if (array_key_exists($classNamespace, $this->translationConfiguration)) {
                return $this->translationConfiguration[$classNamespace];
            }
        }

        return null;
    }
private function getTranslatableEntityConfiguration($entity)
    {
        $entityNamespace = get_class($entity);
        $classStack = $this->getNamespacesFromClass($entityNamespace);

        foreach ($classStack as $classNamespace) {
            if (array_key_exists($classNamespace, $this->translationConfiguration)) {
                return $this->translationConfiguration[$classNamespace];
            }
        }

        return null;
    }
private function getTranslatableEntityConfiguration ( $ entity ) { $ entityNamespace = get_class ( $ entity ) ; $ classStack = $ this -> getNamespacesFromClass ( $ entityNamespace ) ; foreach ( $ classStack as $ classNamespace ) { if ( array_key_exists ( $ classNamespace , $ this -> translationConfiguration ) ) { return $ this -> translationConfiguration [ $ classNamespace ] ; } } return null ; }
Get configuration for a translatable entity, or null if the entity is not
translatable.

@param object $entity Entity

@return array|null Configuration
Get configuration for a translatable entity or null if the entity is not translatable .