public function init() { if (!$this->precision || !$this->scale) { throw new \Exception('Must provide "precision" and "scale" option'); } parent::init(); }
public function init() { $this->attachEvents(); parent::init(); }