needURIs(true); } public function getAttachmentForObject($object, $data, $spec) { $uris = array(); foreach ($object->getURIs() as $uri) { $uris[] = array( 'id' => $uri->getID(), 'type' => phid_get_type($uri->getPHID()), 'phid' => $uri->getPHID(), 'fields' => $uri->getFieldValuesForConduit(), ); } return array( 'uris' => $uris, ); } }