original_string: public function getEntryList(array $list, $trusted)
      {
          $flatten = array();
          $this->flattenArray($list, $flatten);
          $entries = array();
          foreach ($flatten as $elm) {
              $entry = $this->getEntry($elm);
              if ($entry) {
                  $entries[] = $entry;
              }
          }
          return new EntryList($entries, $trusted);
      }
code: public function getEntryList(array $list, $trusted)
      {
          $flatten = array();
          $this->flattenArray($list, $flatten);
          $entries = array();
          foreach ($flatten as $elm) {
              $entry = $this->getEntry($elm);
              if ($entry) {
                  $entries[] = $entry;
              }
          }
          return new EntryList($entries, $trusted);
      }
code_tokens: public function getEntryList ( array $ list , $ trusted ) { $ flatten = array ( ) ; $ this -> flattenArray ( $ list , $ flatten ) ; $ entries = array ( ) ; foreach ( $ flatten as $ elm ) { $ entry = $ this -> getEntry ( $ elm ) ; if ( $ entry ) { $ entries [ ] = $ entry ; } } return new EntryList ( $ entries , $ trusted ) ; }
docstring: Get an entry list
  
  @param array $list    List of entries
  @param bool  $trusted Is list trusted?
  
  @return EntryList
docstring_tokens: Get an entry list