src/Sulu/Bundle/ContactBundle/Api/Contact.php
public function getLocales()
    {
        $entities = [];
        if ($this->entity->getLocales()) {
            foreach ($this->entity->getLocales() as $locale) {
                $entities[] = new ContactLocale($locale);
            }
        }

        return $entities;
    }
public function getLocales()
    {
        $entities = [];
        if ($this->entity->getLocales()) {
            foreach ($this->entity->getLocales() as $locale) {
                $entities[] = new ContactLocale($locale);
            }
        }

        return $entities;
    }
public function getLocales ( ) { $ entities = [ ] ; if ( $ this -> entity -> getLocales ( ) ) { foreach ( $ this -> entity -> getLocales ( ) as $ locale ) { $ entities [ ] = new ContactLocale ( $ locale ) ; } } return $ entities ; }
Get locales.

@return array

@VirtualProperty
@SerializedName("locales")
@Groups({"fullContact"})
Get locales .