public function enable() { if ($this->enabled) { return; } $this->enabled = true; $this->onEnable(); }