PHP7 State

This commit is contained in:
Dominik Liebler
2016-09-22 11:45:38 +02:00
parent 1c30978a70
commit ea8c91ac68
8 changed files with 98 additions and 126 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace DesignPatterns\Behavioral\State;
interface Order
{
/**
* @return mixed
*/
public function shipOrder();
/**
* @return mixed
*/
public function completeOrder();
public function getStatus(): string;
}