mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-23 17:53:17 +02:00
18 lines
333 B
PHP
18 lines
333 B
PHP
<?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;
|
|
}
|