mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-25 05:51:46 +02:00
32 lines
463 B
PHP
32 lines
463 B
PHP
<?php
|
|
|
|
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();
|
|
}
|