original_string: public function setup($file = false)
      {
          if (!$file) {
              $file = HTMLPURIFIER_PREFIX . '/HTMLPurifier/EntityLookup/entities.ser';
          }
          $this->table = unserialize(file_get_contents($file));
      }
code: public function setup($file = false)
      {
          if (!$file) {
              $file = HTMLPURIFIER_PREFIX . '/HTMLPurifier/EntityLookup/entities.ser';
          }
          $this->table = unserialize(file_get_contents($file));
      }
code_tokens: public function setup ( $ file = false ) { if ( ! $ file ) { $ file = HTMLPURIFIER_PREFIX . '/HTMLPurifier/EntityLookup/entities.ser' ; } $ this -> table = unserialize ( file_get_contents ( $ file ) ) ; }
docstring: Sets up the entity lookup table from the serialized file contents.
  @param bool $file
  @note The serialized contents are versioned, but were generated
  using the maintenance script generate_entity_file.php
  @warning This is not in constructor to help enforce the Singleton
docstring_tokens: Sets up the entity lookup table from the serialized file contents .