1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-04-01 06:58:14 +02:00
phorge-phorge/src/applications/cache/storage/PhabricatorMarkupCache.php
Joshua Spence d6b882a804 Fix visiblity of LiskDAO::getConfiguration()
Summary: Ref T6822.

Test Plan: `grep`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: hach-que, Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11370
2015-01-14 06:54:13 +11:00

33 lines
802 B
PHP

<?php
final class PhabricatorMarkupCache extends PhabricatorCacheDAO {
protected $cacheKey;
protected $cacheData;
protected $metadata;
protected function getConfiguration() {
return array(
self::CONFIG_SERIALIZATION => array(
'cacheData' => self::SERIALIZATION_PHP,
'metadata' => self::SERIALIZATION_JSON,
),
self::CONFIG_BINARY => array(
'cacheData' => true,
),
self::CONFIG_COLUMN_SCHEMA => array(
'cacheKey' => 'text128',
),
self::CONFIG_KEY_SCHEMA => array(
'cacheKey' => array(
'columns' => array('cacheKey'),
'unique' => true,
),
'dateCreated' => array(
'columns' => array('dateCreated'),
),
),
) + parent::getConfiguration();
}
}