src/mako/application/Application.php
protected function serviceRegistrar(string $type): void
	{
		foreach($this->config->get('application.services.' . $type) as $service)
		{
			(new $service($this, $this->container, $this->config))->register();
		}
	}
protected function serviceRegistrar(string $type): void
	{
		foreach($this->config->get('application.services.' . $type) as $service)
		{
			(new $service($this, $this->container, $this->config))->register();
		}
	}
protected function serviceRegistrar ( string $ type ) : void { foreach ( $ this -> config -> get ( 'application.services.' . $ type ) as $ service ) { ( new $ service ( $ this , $ this -> container , $ this -> config ) ) -> register ( ) ; } }
Registers services in the container.

@param string $type Service type
Registers services in the container .