mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 06:57:25 +02:00
remove Interface-Suffix
This commit is contained in:
13
Behavioral/Command/Command.php
Normal file
13
Behavioral/Command/Command.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\Command;
|
||||
|
||||
interface Command
|
||||
{
|
||||
/**
|
||||
* 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