1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 05:28:18 +01:00
phorge-phorge/src/applications/phortune/cart/PhortuneCartImplementation.php

24 lines
639 B
PHP
Raw Normal View History

<?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 getName(PhortuneCart $cart);
abstract public function getCancelURI(PhortuneCart $cart);
abstract public function getDoneURI(PhortuneCart $cart);
abstract public function willCreateCart(
PhabricatorUser $viewer,
PhortuneCart $cart);
}