original_string: private function createEntries($serializablePage, $format)
      {
          $result = array();
          $entries = $serializablePage->getEntries();
          for ($i = 0; $i < count($entries); $i++) {
              $args = array(($i + 1), $entries[$i]['url'], $entries[$i]['title'], $entries[$i]['snippet']);
              array_push($result, self::getFormatClassName($format, $args, true));
          }
          return $result;
      }
code: private function createEntries($serializablePage, $format)
      {
          $result = array();
          $entries = $serializablePage->getEntries();
          for ($i = 0; $i < count($entries); $i++) {
              $args = array(($i + 1), $entries[$i]['url'], $entries[$i]['title'], $entries[$i]['snippet']);
              array_push($result, self::getFormatClassName($format, $args, true));
          }
          return $result;
      }
code_tokens: private function createEntries ( $ serializablePage , $ format ) { $ result = array ( ) ; $ entries = $ serializablePage -> getEntries ( ) ; for ( $ i = 0 ; $ i < count ( $ entries ) ; $ i ++ ) { $ args = array ( ( $ i + 1 ) , $ entries [ $ i ] [ 'url' ] , $ entries [ $ i ] [ 'title' ] , $ entries [ $ i ] [ 'snippet' ] ) ; array_push ( $ result , self :: getFormatClassName ( $ format , $ args , true ) ) ; } return $ result ; }
docstring: Map SerializableSerpPage entries to SerpPageEntries.
  The serialization format is resolved at runtime.
  @param  SerializableSerpPage $serializablePage
  @param  string               $format
  @return SerpPageEntryJSON|SerpPageEntryXML|SerpPageEntryYAML
docstring_tokens: Map SerializableSerpPage entries to SerpPageEntries . The serialization format is resolved at runtime .