mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 13:38:19 +01:00
23 lines
583 B
PHP
23 lines
583 B
PHP
|
<?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);
|
||
|
|
||
|
}
|