original_string: public function store( $id, $data, $attributes = array() )
      {
          $metaStorage = $this->getMetaDataStorage();
          $metaStorage->lock();
          
          $metaData = $this->getMetaData( $metaStorage );
  
          foreach( $this->storageStack as $storageConf )
          {
              call_user_func(
                  array(
                      $this->properties['options']->replacementStrategy,
                      'store'
                  ),
                  $storageConf,
                  $metaData,
                  $id,
                  $data,
                  $attributes
              );
          }
  
          $metaStorage->storeMetaData( $metaData );
          $metaStorage->unlock();
      }
code: public function store( $id, $data, $attributes = array() )
      {
          $metaStorage = $this->getMetaDataStorage();
          $metaStorage->lock();
          
          $metaData = $this->getMetaData( $metaStorage );
  
          foreach( $this->storageStack as $storageConf )
          {
              call_user_func(
                  array(
                      $this->properties['options']->replacementStrategy,
                      'store'
                  ),
                  $storageConf,
                  $metaData,
                  $id,
                  $data,
                  $attributes
              );
          }
  
          $metaStorage->storeMetaData( $metaData );
          $metaStorage->unlock();
      }
code_tokens: public function store ( $ id , $ data , $ attributes = array ( ) ) { $ metaStorage = $ this -> getMetaDataStorage ( ) ; $ metaStorage -> lock ( ) ; $ metaData = $ this -> getMetaData ( $ metaStorage ) ; foreach ( $ this -> storageStack as $ storageConf ) { call_user_func ( array ( $ this -> properties [ 'options' ] -> replacementStrategy , 'store' ) , $ storageConf , $ metaData , $ id , $ data , $ attributes ) ; } $ metaStorage -> storeMetaData ( $ metaData ) ; $ metaStorage -> unlock ( ) ; }
docstring: Stores data in the cache stack.
  
  This method will store the given data across the complete stack. It can
  afterwards be restored using the {@link ezcCacheStack::restore()} method
  and be deleted through the {@link ezcCacheStack::delete()} method.
  
  The data that can be stored in the cache depends on the configured
  storages. Usually it is save to store arrays and scalars. However, some
  caches support objects or do not even support arrays. You need to make
  sure that the inner caches of the stack *all* support the data you want
  to store!
  
  The $attributes array is optional and can be used to describe the stack
  further.
  
  @param string $id
  @param mixed $data
  @param array $attributes
docstring_tokens: Stores data in the cache stack .