mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2024-11-22 10:11:04 +01:00
Added pay method to PaymentInterface
This commit is contained in:
parent
6fcef40e10
commit
afa03052a7
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace entity\payment;
|
namespace entity\payment;
|
||||||
|
|
||||||
|
use entity\order\OrderInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
@ -8,5 +10,6 @@ namespace entity\payment;
|
|||||||
*/
|
*/
|
||||||
interface PaymentInterface
|
interface PaymentInterface
|
||||||
{
|
{
|
||||||
|
public function pay(OrderInterface $order):void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user