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