mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-10-01 08:46:55 +02:00
more real example
This commit is contained in:
27
Adapter/Kindle.php
Normal file
27
Adapter/Kindle.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* DesignPatternPHP
|
||||
*/
|
||||
|
||||
namespace DesignPatterns\Adapter;
|
||||
|
||||
/**
|
||||
* Kindle is a concrete electronic book
|
||||
*
|
||||
* @author flo
|
||||
*/
|
||||
class Kindle implements ElecBookInterface
|
||||
{
|
||||
|
||||
public function pressNext()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function pressStart()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user