register(); } } } private static function instantiate($class) { $service= new $class(); return $service; } }