public static function init(Config $config): Container
    {
        $logger = Logger::init($config);
        return new Container($logger);
    }
public static function init(Config $config): Container
    {
        $logger = Logger::init($config);
        return new Container($logger);
    }
public static function init ( Config $ config ) : Container { $ logger = Logger :: init ( $ config ) ; return new Container ( $ logger ) ; }
Initiate Hooks Container

Init the logger through its own factory and create an object of the Hooks
container, and return it to the caller. For this the configuration
component is required, so the logger can be instantiated.

@param \SlaxWeb\Config\Container $config Configuration component
@return \SlaxWeb\Hooks\Container
Initiate Hooks Container