mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-08 16:06:31 +02:00
start a restructure
This commit is contained in:
15
Behavioral/Command/CommandInterface.php
Normal file
15
Behavioral/Command/CommandInterface.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Command;
|
||||
|
||||
/**
|
||||
* class CommandInterface
|
||||
*/
|
||||
interface CommandInterface
|
||||
{
|
||||
/**
|
||||
* this is the most important method in the Command pattern,
|
||||
* The Receiver goes in the constructor.
|
||||
*/
|
||||
public function execute();
|
||||
}
|
Reference in New Issue
Block a user