public function registerProvider($provider) { $this->getContainer()->addServiceProvider($provider); return $this; }