| 1 | <?php |
||
| 12 | abstract class AbstractResult |
||
| 13 | { |
||
| 14 | /** @var ResponseInterface */ |
||
| 15 | protected $response; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param ResponseInterface $response |
||
| 19 | */ |
||
| 20 | public function __construct(ResponseInterface $response) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * return Result Entity |
||
| 27 | * @return EntityInterface |
||
| 28 | */ |
||
| 29 | abstract public function result(): EntityInterface; |
||
| 30 | } |
||
| 31 |