original_string: public function toArray()
      {
          if (!$this->sorted) {
              $this->rewind();
          }
          return array_map(
              function ($entry) {
                  return $entry['data'];
              }, $this->entries
          );
      }
code: public function toArray()
      {
          if (!$this->sorted) {
              $this->rewind();
          }
          return array_map(
              function ($entry) {
                  return $entry['data'];
              }, $this->entries
          );
      }
code_tokens: public function toArray ( ) { if ( ! $ this -> sorted ) { $ this -> rewind ( ) ; } return array_map ( function ( $ entry ) { return $ entry [ 'data' ] ; } , $ this -> entries ) ; }
docstring: Returns all items, ordered by priority.
  @return array
docstring_tokens: Returns all items ordered by priority .