original_string: public function useAppDataDriver(string $keyPrefix = '.temp/cache/'): self
      {
          $app = App::get();
          $this->setDriver(new \BearFramework\App\DataCacheDriver($app->data, $keyPrefix));
          return $this;
      }
code: public function useAppDataDriver(string $keyPrefix = '.temp/cache/'): self
      {
          $app = App::get();
          $this->setDriver(new \BearFramework\App\DataCacheDriver($app->data, $keyPrefix));
          return $this;
      }
code_tokens: public function useAppDataDriver ( string $ keyPrefix = '.temp/cache/' ) : self { $ app = App :: get ( ) ; $ this -> setDriver ( new \ BearFramework \ App \ DataCacheDriver ( $ app -> data , $ keyPrefix ) ) ; return $ this ; }
docstring: Enables the app cache driver. The cached data will be stored in the app data repository.
  
  @param string $keyPrefix The key prefix for the cache items.
  @return self Returns a reference to itself.
docstring_tokens: Enables the app cache driver . The cached data will be stored in the app data repository .