DesignPatternsPHP/Structural/Adapter/EBookInterface.php

24 lines
346 B
PHP

<?php
namespace DesignPatterns\Structural\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();
}