Example #1
0
 /** @return bool */
 public function isVatOn()
 {
     if ($this->tax === NULL) {
         throw new RuntimeException('Let\'s define vat by setVat().');
     }
     return $this->tax->isVatOn();
 }