public function register()
    {
        $this->registerCallers();
        $this->registerCollections();
        $this->registerControllers();
        $this->registerDispatchers();
        $this->registerResolvers();

        if (static::$helpers) {
            Helpers::loadAll();
        }

        PublicReflection::pushCustomerReflections(static::$customReflections);
        Caller::$eventCallable = [Event::class, "dispatch"];

        return $this;
    }
public function register()
    {
        $this->registerCallers();
        $this->registerCollections();
        $this->registerControllers();
        $this->registerDispatchers();
        $this->registerResolvers();

        if (static::$helpers) {
            Helpers::loadAll();
        }

        PublicReflection::pushCustomerReflections(static::$customReflections);
        Caller::$eventCallable = [Event::class, "dispatch"];

        return $this;
    }
public function register ( ) { $ this -> registerCallers ( ) ; $ this -> registerCollections ( ) ; $ this -> registerControllers ( ) ; $ this -> registerDispatchers ( ) ; $ this -> registerResolvers ( ) ; if ( static :: $ helpers ) { Helpers :: loadAll ( ) ; } PublicReflection :: pushCustomerReflections ( static :: $ customReflections ) ; Caller :: $ eventCallable = [ Event :: class , "dispatch" ] ; return $ this ; }
Register services to the application container.
Register services to the application container .