src/Sulu/Bundle/ContactBundle/Api/Account.php
public function getBankAccounts()
    {
        $bankAccounts = [];
        if ($this->entity->getBankAccounts()) {
            foreach ($this->entity->getBankAccounts() as $bankAccount) {
                /* @var BankAccountEntity $bankAccount */
                $bankAccounts[] = new BankAccount($bankAccount);
            }
        }

        return $bankAccounts;
    }
public function getBankAccounts()
    {
        $bankAccounts = [];
        if ($this->entity->getBankAccounts()) {
            foreach ($this->entity->getBankAccounts() as $bankAccount) {
                /* @var BankAccountEntity $bankAccount */
                $bankAccounts[] = new BankAccount($bankAccount);
            }
        }

        return $bankAccounts;
    }
public function getBankAccounts ( ) { $ bankAccounts = [ ] ; if ( $ this -> entity -> getBankAccounts ( ) ) { foreach ( $ this -> entity -> getBankAccounts ( ) as $ bankAccount ) { /* @var BankAccountEntity $bankAccount */ $ bankAccounts [ ] = new BankAccount ( $ bankAccount ) ; } } return $ bankAccounts ; }
Get bankAccounts.

@return BankAccountEntity[]
@VirtualProperty
@SerializedName("bankAccounts")
@Groups({"fullAccount"})
Get bankAccounts .