Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/cart/PhortuneCartImplementation.php
- This file was added.
<?php | |||||
abstract class PhortuneCartImplementation { | |||||
/** | |||||
* Load implementations for a given set of carts. | |||||
* | |||||
* Note that this method should return a map using the original keys to | |||||
* identify which implementation corresponds to which cart. | |||||
*/ | |||||
abstract public function loadImplementationsForCarts( | |||||
PhabricatorUser $viewer, | |||||
array $carts); | |||||
abstract public function getCancelURI(PhortuneCart $cart); | |||||
abstract public function getDoneURI(PhortuneCart $cart); | |||||
abstract public function willCreateCart( | |||||
PhabricatorUser $viewer, | |||||
PhortuneCart $cart); | |||||
} |