protected function setupInterfaces()
    {
        // Bind the Auth Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\Auth\AuthRepositoryInterface',
          config('laraflock.dashboard.authRepositoryClass')
        );

        // Bind the Permission Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\Permission\PermissionRepositoryInterface',
          config('laraflock.dashboard.permissionRepositoryClass')
        );

        // Bind the Role Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\Role\RoleRepositoryInterface',
          config('laraflock.dashboard.roleRepositoryClass')
        );

        // Bind the User Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\User\UserRepositoryInterface',
          config('laraflock.dashboard.userRepositoryClass')
        );

        // Bind the Module Repository Interface
        $this->app->singleton(
            'Laraflock\Dashboard\Repositories\Module\ModuleRepositoryInterface',
            config('laraflock.dashboard.moduleRepositoryClass')
        );
    }
protected function setupInterfaces()
    {
        // Bind the Auth Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\Auth\AuthRepositoryInterface',
          config('laraflock.dashboard.authRepositoryClass')
        );

        // Bind the Permission Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\Permission\PermissionRepositoryInterface',
          config('laraflock.dashboard.permissionRepositoryClass')
        );

        // Bind the Role Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\Role\RoleRepositoryInterface',
          config('laraflock.dashboard.roleRepositoryClass')
        );

        // Bind the User Repository Interface
        $this->app->bind(
          'Laraflock\Dashboard\Repositories\User\UserRepositoryInterface',
          config('laraflock.dashboard.userRepositoryClass')
        );

        // Bind the Module Repository Interface
        $this->app->singleton(
            'Laraflock\Dashboard\Repositories\Module\ModuleRepositoryInterface',
            config('laraflock.dashboard.moduleRepositoryClass')
        );
    }
protected function setupInterfaces ( ) { // Bind the Auth Repository Interface $ this -> app -> bind ( 'Laraflock\Dashboard\Repositories\Auth\AuthRepositoryInterface' , config ( 'laraflock.dashboard.authRepositoryClass' ) ) ; // Bind the Permission Repository Interface $ this -> app -> bind ( 'Laraflock\Dashboard\Repositories\Permission\PermissionRepositoryInterface' , config ( 'laraflock.dashboard.permissionRepositoryClass' ) ) ; // Bind the Role Repository Interface $ this -> app -> bind ( 'Laraflock\Dashboard\Repositories\Role\RoleRepositoryInterface' , config ( 'laraflock.dashboard.roleRepositoryClass' ) ) ; // Bind the User Repository Interface $ this -> app -> bind ( 'Laraflock\Dashboard\Repositories\User\UserRepositoryInterface' , config ( 'laraflock.dashboard.userRepositoryClass' ) ) ; // Bind the Module Repository Interface $ this -> app -> singleton ( 'Laraflock\Dashboard\Repositories\Module\ModuleRepositoryInterface' , config ( 'laraflock.dashboard.moduleRepositoryClass' ) ) ; }
Register Interface Bindings
Register Interface Bindings