[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/cache/storage/ -> PhabricatorMarkupCache.php (source)

   1  <?php
   2  
   3  final class PhabricatorMarkupCache extends PhabricatorCacheDAO {
   4  
   5    protected $cacheKey;
   6    protected $cacheData;
   7    protected $metadata;
   8  
   9    public function getConfiguration() {
  10      return array(
  11        self::CONFIG_SERIALIZATION => array(
  12          'cacheData' => self::SERIALIZATION_PHP,
  13          'metadata'  => self::SERIALIZATION_JSON,
  14        ),
  15        self::CONFIG_BINARY => array(
  16          'cacheData' => true,
  17        ),
  18        self::CONFIG_COLUMN_SCHEMA => array(
  19          'cacheKey' => 'text128',
  20        ),
  21        self::CONFIG_KEY_SCHEMA => array(
  22          'cacheKey' => array(
  23            'columns' => array('cacheKey'),
  24            'unique' => true,
  25          ),
  26          'dateCreated' => array(
  27            'columns' => array('dateCreated'),
  28          ),
  29        ),
  30      ) + parent::getConfiguration();
  31    }
  32  
  33  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1