mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
24 lines
352 B
PHP
24 lines
352 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Structural\Adapter;
|
|
|
|
/**
|
|
* PaperBookInterface is a contract for a book.
|
|
*/
|
|
interface PaperBookInterface
|
|
{
|
|
/**
|
|
* method to turn pages.
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function turnPage();
|
|
|
|
/**
|
|
* method to open the book.
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function open();
|
|
}
|