Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / phortune / cart / PhortuneAdHocCart.php
blob1d82c90062001e24aac198666e03c886680ff18e
1 <?php
3 final class PhortuneAdHocCart extends PhortuneCartImplementation {
5 public function loadImplementationsForCarts(
6 PhabricatorUser $viewer,
7 array $carts) {
9 $results = array();
10 foreach ($carts as $key => $cart) {
11 $results[$key] = new PhortuneAdHocCart();
14 return $results;
17 public function getName(PhortuneCart $cart) {
18 return $cart->getMetadataValue('adhoc.title');
21 public function getDescription(PhortuneCart $cart) {
22 return $cart->getMetadataValue('adhoc.description');
25 public function getCancelURI(PhortuneCart $cart) {
26 return null;
29 public function getDoneURI(PhortuneCart $cart) {
30 return null;
33 public function willCreateCart(
34 PhabricatorUser $viewer,
35 PhortuneCart $cart) {
36 return;