src/WorkerF/App.php
public static function register()
    {
        // register middlewares
        $registers = Config::get('app.registers');

        if ( ! empty($registers)) {
            foreach ($registers as $register) {
                IOCContainer::register($register);
            }
        }
    }
public static function register()
    {
        // register middlewares
        $registers = Config::get('app.registers');

        if ( ! empty($registers)) {
            foreach ($registers as $register) {
                IOCContainer::register($register);
            }
        }
    }
register class

@return void