mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-07 15:36:34 +02:00
PHP7 Adapter
This commit is contained in:
12
Structural/Adapter/BookInterface.php
Normal file
12
Structural/Adapter/BookInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Structural\Adapter;
|
||||
|
||||
interface BookInterface
|
||||
{
|
||||
public function turnPage();
|
||||
|
||||
public function open();
|
||||
|
||||
public function getPage(): int;
|
||||
}
|
Reference in New Issue
Block a user