Changeset View
Changeset View
Standalone View
Standalone View
src/applications/macro/engine/PhabricatorMemeEngine.php
| Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | try { | ||||
| } | } | ||||
| return $xfile; | return $xfile; | ||||
| } | } | ||||
| } | } | ||||
| private function newTransformHash() { | private function newTransformHash() { | ||||
| $properties = array( | $properties = array( | ||||
| 'kind' => 'meme', | 'kind' => 'meme', | ||||
| 'above' => phutil_utf8_strtoupper($this->getAboveText()), | 'above' => $this->getAboveText(), | ||||
| 'below' => phutil_utf8_strtoupper($this->getBelowText()), | 'below' => $this->getBelowText(), | ||||
| ); | ); | ||||
| $properties = phutil_json_encode($properties); | $properties = phutil_json_encode($properties); | ||||
| return PhabricatorHash::digestForIndex($properties); | return PhabricatorHash::digestForIndex($properties); | ||||
| } | } | ||||
| public function loadCachedFile() { | public function loadCachedFile() { | ||||
| ▲ Show 20 Lines • Show All 274 Lines • Show Last 20 Lines | |||||