mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-28 15:29:12 +02:00
PHP7 Facade
This commit is contained in:
@@ -2,30 +2,13 @@
|
||||
|
||||
namespace DesignPatterns\Structural\Facade;
|
||||
|
||||
/**
|
||||
* Interface BiosInterface.
|
||||
*/
|
||||
interface BiosInterface
|
||||
{
|
||||
/**
|
||||
* Execute the BIOS.
|
||||
*/
|
||||
public function execute();
|
||||
|
||||
/**
|
||||
* Wait for halt.
|
||||
*/
|
||||
public function waitForKeyPress();
|
||||
|
||||
/**
|
||||
* Launches the OS.
|
||||
*
|
||||
* @param OsInterface $os
|
||||
*/
|
||||
public function launch(OsInterface $os);
|
||||
|
||||
/**
|
||||
* Power down BIOS.
|
||||
*/
|
||||
public function powerDown();
|
||||
}
|
||||
|
Reference in New Issue
Block a user