mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-27 14:59:11 +02:00
more real example
This commit is contained in:
18
Adapter/ElecBookInterface.php
Normal file
18
Adapter/ElecBookInterface.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* DesignPatternPHP
|
||||
*/
|
||||
|
||||
namespace DesignPatterns\Adapter;
|
||||
|
||||
/**
|
||||
* ElecBookInterface is a contract for an electronic book
|
||||
*/
|
||||
interface ElecBookInterface
|
||||
{
|
||||
|
||||
function pressNext();
|
||||
|
||||
function pressStart();
|
||||
}
|
Reference in New Issue
Block a user