src/Sulu/Bundle/ContactBundle/Api/Account.php
public function getSocialMediaProfiles()
    {
        $socialMediaProfiles = [];
        if ($this->entity->getSocialMediaProfiles()) {
            foreach ($this->entity->getSocialMediaProfiles() as $socialMediaProfile) {
                $socialMediaProfiles[] = $socialMediaProfile;
            }
        }

        return $socialMediaProfiles;
    }
public function getSocialMediaProfiles()
    {
        $socialMediaProfiles = [];
        if ($this->entity->getSocialMediaProfiles()) {
            foreach ($this->entity->getSocialMediaProfiles() as $socialMediaProfile) {
                $socialMediaProfiles[] = $socialMediaProfile;
            }
        }

        return $socialMediaProfiles;
    }
public function getSocialMediaProfiles ( ) { $ socialMediaProfiles = [ ] ; if ( $ this -> entity -> getSocialMediaProfiles ( ) ) { foreach ( $ this -> entity -> getSocialMediaProfiles ( ) as $ socialMediaProfile ) { $ socialMediaProfiles [ ] = $ socialMediaProfile ; } } return $ socialMediaProfiles ; }
Get social media profiles.

@return SocialMediaProfileEntity[]
@VirtualProperty
@SerializedName("socialMediaProfiles")
@Groups({"fullAccount"})
Get social media profiles .