protected function registerServices($servicesPath) { $services = (require $servicesPath . '.php'); foreach ($services as $name => &$service) { \Scoop\IoC\Service::register($name, $service); } return $this; }