protected function createModelFromArray(array $array)
    {
        $account = new SEPAAccount();
        $account->setIban($array[1]);
        $account->setBic($array[2]);
        $account->setAccountNumber($array[3]);
        $account->setSubAccount($array[4]);
        $account->setBlz($array[6]);

        return $account;
    }
protected function createModelFromArray(array $array)
    {
        $account = new SEPAAccount();
        $account->setIban($array[1]);
        $account->setBic($array[2]);
        $account->setAccountNumber($array[3]);
        $account->setSubAccount($array[4]);
        $account->setBlz($array[6]);

        return $account;
    }
protected function createModelFromArray ( array $ array ) { $ account = new SEPAAccount ( ) ; $ account -> setIban ( $ array [ 1 ] ) ; $ account -> setBic ( $ array [ 2 ] ) ; $ account -> setAccountNumber ( $ array [ 3 ] ) ; $ account -> setSubAccount ( $ array [ 4 ] ) ; $ account -> setBlz ( $ array [ 6 ] ) ; return $ account ; }
Creates a SEPAAccount model from array.

@param array $array
@return SEPAAccount
Creates a SEPAAccount model from array .