mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
Merge pull request #195 from HassanAlthaf/patch-1
Improved grammar in HelloCommand.php
This commit is contained in:
commit
f36bdcad9c
@ -4,7 +4,7 @@ namespace DesignPatterns\Behavioral\Command;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This concrete command calls "print" on the Receiver, but an external
|
* This concrete command calls "print" on the Receiver, but an external
|
||||||
* invoker just know he can call "execute"
|
* invoker just knows that it can call "execute"
|
||||||
*/
|
*/
|
||||||
class HelloCommand implements CommandInterface
|
class HelloCommand implements CommandInterface
|
||||||
{
|
{
|
||||||
@ -14,8 +14,8 @@ class HelloCommand implements CommandInterface
|
|||||||
protected $output;
|
protected $output;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Each concrete command is builded with different receivers.
|
* Each concrete command is built with different receivers.
|
||||||
* Can be one, many, none or even other Command in parameters
|
* There can be one, many or completely no receivers, but there can be other commands in the parameters.
|
||||||
*
|
*
|
||||||
* @param Receiver $console
|
* @param Receiver $console
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user