よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
/** @return bool */ public function isVatOn() { if ($this->tax === NULL) { throw new RuntimeException('Let\'s define vat by setVat().'); } return $this->tax->isVatOn(); }