protected updateBankAccount ( |
||
$entity | The phone object to update | |
$data | string | The entry with the new data |
리턴 | boolean | True if successful, otherwise false |
protected function updateBankAccount(BankAccount $entity, $data)
{
$success = true;
$entity->setBankName($data['bankName']);
$entity->setBic($data['bic']);
$entity->setIban($data['iban']);
$entity->setPublic($this->getBooleanValue(array_key_exists('public', $data) ? $data['public'] : false));
return $success;
}