HomePhorge

Make the Pholio Mock "getImages" / "getAllImages" API more clear

Description

Make the Pholio Mock "getImages" / "getAllImages" API more clear

Summary:
Depends on D19920. Ref T11351. Currently, "images" and "all images" are attached to Mocks separately, and getImages() gets you only some images.

Clean this up slightly:

  • One attach method; attach everything.
  • Two getters, one for "images" (returns all images); one for "active images" (returns active images).

Test Plan: Browsed around Pholio without any apparent behavioral changes.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T11351

Differential Revision: https://secure.phabricator.com/D19921

Details

Provenance
epriestleyAuthored on Dec 20 2018, 11:36 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP11cf8f05b176: Remove "getApplicationTransactionObject()" from ApplicationTransactionInterface
Branches
Unknown
Tags
Unknown

Event Timeline