Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/storage/DrydockBlueprint.php
| Show First 20 Lines • Show All 344 Lines • ▼ Show 20 Lines | /* -( PhabricatorCustomFieldInterface )------------------------------------ */ | ||||
| } | } | ||||
| public function attachCustomFields(PhabricatorCustomFieldAttachment $fields) { | public function attachCustomFields(PhabricatorCustomFieldAttachment $fields) { | ||||
| $this->customFields = $fields; | $this->customFields = $fields; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| /* -( PhabricatorNgramInterface )------------------------------------------ */ | /* -( PhabricatorNgramsInterface )----------------------------------------- */ | ||||
| public function newNgrams() { | public function newNgrams() { | ||||
| return array( | return array( | ||||
| id(new DrydockBlueprintNameNgrams()) | id(new DrydockBlueprintNameNgrams()) | ||||
| ->setValue($this->getBlueprintName()), | ->setValue($this->getBlueprintName()), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||