public function init() { if (!$this->isInitialized) { $this->reload(); } if (!$this->di->isStored($this)) { $this->di->store($this); } }
/** * Initialize addendum and store configuration. * This should be called upon first intstance creation. * * @return Addendum */ public function init() { if (!$this->di->isStored($this)) { (new Signal())->emit(new NamespacesSignal($this)); } $this->di->store($this); return $this; }