mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-25 02:02:26 +01:00
32 lines
459 B
PHP
32 lines
459 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Structural\Facade;
|
|
|
|
/**
|
|
* Class 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();
|
|
}
|