/** * Register the service and boot handlers */ public function initialize() { $this->storage->set_adapter($this->adapter); $this->storage->add_default_fields(); $this->components->set_storage($this->storage); $this->endpoint->register(); }