public function getAccounts()
    {
        $dialog = $this->getDialog();
        $result = $dialog->syncDialog();
        $this->bankName = $dialog->getBankName();
        $accounts = new GetAccounts($result);

        return $accounts->getAccountsArray();
    }
public function getAccounts()
    {
        $dialog = $this->getDialog();
        $result = $dialog->syncDialog();
        $this->bankName = $dialog->getBankName();
        $accounts = new GetAccounts($result);

        return $accounts->getAccountsArray();
    }
public function getAccounts ( ) { $ dialog = $ this -> getDialog ( ) ; $ result = $ dialog -> syncDialog ( ) ; $ this -> bankName = $ dialog -> getBankName ( ) ; $ accounts = new GetAccounts ( $ result ) ; return $ accounts -> getAccountsArray ( ) ; }
Gets array of all accounts.

@return Model\Account[]
Gets array of all accounts .