public function onCreateEvent($callback) { Event::schema()->events()->register('beforeCreate', $callback); return $this; }