/** * Register the providers * * @access public * @param Provider $provider * @return MVC */ public function registerProvider(Provider $provider) { $provider->register($this); $this->container->addProvider($provider); return $this; }