Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/storage/DrydockBlueprint.php
Show All 30 Lines | return id(new DrydockBlueprint()) | ||||
->setBlueprintName(''); | ->setBlueprintName(''); | ||||
} | } | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'details' => self::SERIALIZATION_JSON, | 'details' => self::SERIALIZATION_JSON, | ||||
) | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'className' => 'text255', | |||||
'blueprintName' => 'text255', | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
DrydockBlueprintPHIDType::TYPECONST); | DrydockBlueprintPHIDType::TYPECONST); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |