mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-10 00:46:38 +02:00
removed Interface-suffix
This commit is contained in:
17
Structural/Adapter/EBook.php
Normal file
17
Structural/Adapter/EBook.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Structural\Adapter;
|
||||
|
||||
interface EBook
|
||||
{
|
||||
public function unlock();
|
||||
|
||||
public function pressNext();
|
||||
|
||||
/**
|
||||
* returns current page and total number of pages, like [10, 100] is page 10 of 100
|
||||
*
|
||||
* @return int[]
|
||||
*/
|
||||
public function getPage(): array;
|
||||
}
|
Reference in New Issue
Block a user