private function getMetaModelTableNames($keyTranslated, $keyUntranslated)
    {
        $result = [];
        foreach ($this->factory->collectNames() as $table) {
            $metaModel = $this->factory->getMetaModel($table);
            if (null === $metaModel) {
                continue;
            }

            if ($metaModel->isTranslated()) {
                $result[$keyTranslated][$table] = \sprintf('%s (%s)', $metaModel->get('name'), $table);
            } else {
                $result[$keyUntranslated][$table] = \sprintf('%s (%s)', $metaModel->get('name'), $table);
            }
        }

        return $result;
    }
private function getMetaModelTableNames($keyTranslated, $keyUntranslated)
    {
        $result = [];
        foreach ($this->factory->collectNames() as $table) {
            $metaModel = $this->factory->getMetaModel($table);
            if (null === $metaModel) {
                continue;
            }

            if ($metaModel->isTranslated()) {
                $result[$keyTranslated][$table] = \sprintf('%s (%s)', $metaModel->get('name'), $table);
            } else {
                $result[$keyUntranslated][$table] = \sprintf('%s (%s)', $metaModel->get('name'), $table);
            }
        }

        return $result;
    }
private function getMetaModelTableNames ( $ keyTranslated , $ keyUntranslated ) { $ result = [ ] ; foreach ( $ this -> factory -> collectNames ( ) as $ table ) { $ metaModel = $ this -> factory -> getMetaModel ( $ table ) ; if ( null === $ metaModel ) { continue ; } if ( $ metaModel -> isTranslated ( ) ) { $ result [ $ keyTranslated ] [ $ table ] = \ sprintf ( '%s (%s)' , $ metaModel -> get ( 'name' ) , $ table ) ; } else { $ result [ $ keyUntranslated ] [ $ table ] = \ sprintf ( '%s (%s)' , $ metaModel -> get ( 'name' ) , $ table ) ; } } return $ result ; }
Retrieve all MetaModels table names.

@param string $keyTranslated   The array key to use for translated MetaModels.

@param string $keyUntranslated The array key to use for untranslated MetaModels.

@return array
Retrieve all MetaModels table names .