Changeset View
Changeset View
Standalone View
Standalone View
src/applications/nuance/storage/NuanceQueue.php
<?php | <?php | ||||
final class NuanceQueue | final class NuanceQueue | ||||
extends NuanceDAO | extends NuanceDAO | ||||
implements PhabricatorPolicyInterface { | implements PhabricatorPolicyInterface { | ||||
protected $name; | protected $name; | ||||
protected $mailKey; | protected $mailKey; | ||||
protected $viewPolicy; | protected $viewPolicy; | ||||
protected $editPolicy; | protected $editPolicy; | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'name' => 'text255?', | |||||
'mailKey' => 'bytes20', | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
NuanceQueuePHIDType::TYPECONST); | NuanceQueuePHIDType::TYPECONST); | ||||
} | } | ||||
Show All 36 Lines |