Plugin.php
/**
     * Register method, called when the plugin is first registered.
     *
     * @return void
     */
Register method, called when the plugin is first registered.
@return void
Register method called when the plugin is first registered . @return void
public function register()
    {
        $this->checkRequiredPlugins();
        $this->app->singleton(
            UserPluginResolverContract::class,
            static fn() => UserPluginResolver::instance()
        );
        $this->registerGates();
        $this->registerJWT();
    }
public function register ( ) { $ this -> checkRequiredPlugins ( ) ; $ this -> app -> singleton ( UserPluginResolverContract :: class , static fn ( ) => UserPluginResolver :: instance ( ) ) ; $ this -> registerGates ( ) ; $ this -> registerJWT ( ) ; }
Register method, called when the plugin is first registered.
Register method called when the plugin is first registered .