mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 09:42:24 +01:00
32 lines
454 B
PHP
32 lines
454 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();
|
|
}
|