code: public static function provider(ProviderInterface $provider = null)
      {
          if($provider) {
              static::$provider = $provider;
          }
          elseif(!static::$provider) {
              static::$provider = new Provider\Native(static::$root);
          }
  
          return static::$provider;
      }
docs: Load session provider
  
  @param ProviderInterface $provider
  @return ProviderInterface