public function registerServiceManager(string $name, ServiceManager $service_manager): Core
    {
        $this->service_managers->register($name, $service_manager);
        return $this;
    }
public function registerServiceManager(string $name, ServiceManager $service_manager): Core
    {
        $this->service_managers->register($name, $service_manager);
        return $this;
    }
public function registerServiceManager ( string $ name , ServiceManager $ service_manager ) : Core { $ this -> service_managers -> register ( $ name , $ service_manager ) ; return $ this ; }
Register a service manager.

@param string         $name The name of the service manager for use in retrieving a reference to it
@param ServiceManager $service_manager

@return Core
Register a service manager .