original_string: public function generateBaseDirectoryPath($config)
      {
          $base = $config->get('Cache.SerializerPath');
          $base = is_null($base) ? HTMLPURIFIER_PREFIX . '/HTMLPurifier/DefinitionCache/Serializer' : $base;
          return $base;
      }
code: public function generateBaseDirectoryPath($config)
      {
          $base = $config->get('Cache.SerializerPath');
          $base = is_null($base) ? HTMLPURIFIER_PREFIX . '/HTMLPurifier/DefinitionCache/Serializer' : $base;
          return $base;
      }
code_tokens: public function generateBaseDirectoryPath ( $ config ) { $ base = $ config -> get ( 'Cache.SerializerPath' ) ; $ base = is_null ( $ base ) ? HTMLPURIFIER_PREFIX . '/HTMLPurifier/DefinitionCache/Serializer' : $ base ; return $ base ; }
docstring: Generates path to base directory that contains all definition type
  serials
  @param HTMLPurifier_Config $config
  @return mixed|string
  @todo Make protected
docstring_tokens: Generates path to base directory that contains all definition type serials