Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/storage/AlmanacNetwork.php
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | public function destroyObjectPermanently( | ||||
| foreach ($interfaces as $interface) { | foreach ($interfaces as $interface) { | ||||
| $engine->destroyObject($interface); | $engine->destroyObject($interface); | ||||
| } | } | ||||
| $this->delete(); | $this->delete(); | ||||
| } | } | ||||
| /* -( PhabricatorNgramInterface )------------------------------------------ */ | /* -( PhabricatorNgramsInterface )----------------------------------------- */ | ||||
| public function newNgrams() { | public function newNgrams() { | ||||
| return array( | return array( | ||||
| id(new AlmanacNetworkNameNgrams()) | id(new AlmanacNetworkNameNgrams()) | ||||
| ->setValue($this->getName()), | ->setValue($this->getName()), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||