1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 04:02:43 +01:00
phorge-phorge/src/applications/diviner/storage/DivinerLiveAtom.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

25 lines
582 B
PHP

<?php
final class DivinerLiveAtom extends DivinerDAO {
protected $symbolPHID;
protected $content;
protected $atomData;
protected function getConfiguration() {
return array(
self::CONFIG_TIMESTAMPS => false,
self::CONFIG_SERIALIZATION => array(
'content' => self::SERIALIZATION_JSON,
'atomData' => self::SERIALIZATION_JSON,
),
self::CONFIG_KEY_SCHEMA => array(
'symbolPHID' => array(
'columns' => array('symbolPHID'),
'unique' => true,
),
),
) + parent::getConfiguration();
}
}