예제 #1
0
 public function __isset($name)
 {
     if (strpos($name, 'tax_amount_') === 0) {
         return true;
     }
     if (in_array($name, ['due_amount'])) {
         return true;
     }
     if (in_array($name, array_keys(get_object_vars($this)))) {
         return true;
     }
     return parent::__isset($name);
 }
예제 #2
0
 public function __isset($name)
 {
     if (in_array($name, array_keys(get_object_vars($this)))) {
         return true;
     }
     return parent::__isset($name);
 }