original_string: public function storeWebfilesFromStream(MWebfileStream $webfileStream)
      {
  
          if ($this->isReadOnly()) {
              throw new MDatastoreException("cannot modify data on read-only datastore.");
          }
  
          $webfiles = $webfileStream->getWebfiles();
          foreach ($webfiles as $webfile) {
              $this->storeWebfile($webfile);
          }
      }
code: public function storeWebfilesFromStream(MWebfileStream $webfileStream)
      {
  
          if ($this->isReadOnly()) {
              throw new MDatastoreException("cannot modify data on read-only datastore.");
          }
  
          $webfiles = $webfileStream->getWebfiles();
          foreach ($webfiles as $webfile) {
              $this->storeWebfile($webfile);
          }
      }
code_tokens: public function storeWebfilesFromStream ( MWebfileStream $ webfileStream ) { if ( $ this -> isReadOnly ( ) ) { throw new MDatastoreException ( "cannot modify data on read-only datastore." ) ; } $ webfiles = $ webfileStream -> getWebfiles ( ) ; foreach ( $ webfiles as $ webfile ) { $ this -> storeWebfile ( $ webfile ) ; } }
docstring: Stores all webfiles from a given webfilestream in the actual datastore
  
  @param MWebfileStream $webfileStream
  @throws MDatastoreException
docstring_tokens: Stores all webfiles from a given webfilestream in the actual datastore