mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-01 12:40:11 +02:00
more real example
This commit is contained in:
18
Adapter/PaperBookInterface.php
Normal file
18
Adapter/PaperBookInterface.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* DesignPatternPHP
|
||||
*/
|
||||
|
||||
namespace DesignPatterns\Adapter;
|
||||
|
||||
/**
|
||||
* PaperBookInterface is a contract for a book
|
||||
*/
|
||||
interface PaperBookInterface
|
||||
{
|
||||
|
||||
function turnPage();
|
||||
|
||||
function open();
|
||||
}
|
Reference in New Issue
Block a user