mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
start a restructure
This commit is contained in:
23
Structural/Adapter/EBookInterface.php
Normal file
23
Structural/Adapter/EBookInterface.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Adapter;
|
||||
|
||||
/**
|
||||
* EBookInterface is a contract for an electronic book
|
||||
*/
|
||||
interface EBookInterface
|
||||
{
|
||||
/**
|
||||
* go to next page
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function pressNext();
|
||||
|
||||
/**
|
||||
* start the book
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function pressStart();
|
||||
}
|
Reference in New Issue
Block a user