Bundle/BlogBundle/Entity/Blog.php
public function getAvailableLocales()
    {
        $availableLocales = [];
        $translations = $this->getTranslations();
        foreach ($translations as $translation) {
            $availableLocales[] = $translation->getLocale();
        }

        return $availableLocales;
    }
public function getAvailableLocales()
    {
        $availableLocales = [];
        $translations = $this->getTranslations();
        foreach ($translations as $translation) {
            $availableLocales[] = $translation->getLocale();
        }

        return $availableLocales;
    }
public function getAvailableLocales ( ) { $ availableLocales = [ ] ; $ translations = $ this -> getTranslations ( ) ; foreach ( $ translations as $ translation ) { $ availableLocales [ ] = $ translation -> getLocale ( ) ; } return $ availableLocales ; }
Get available locales for Articles from this Blog.

@return array
Get available locales for Articles from this Blog .