1
0
mirror of https://github.com/DesignPatternsPHP/DesignPatternsPHP.git synced 2025-05-24 15:29:39 +02:00
Dominik Liebler bead52e9e9 cs Command
2013-09-11 16:06:03 +02:00

22 lines
281 B
PHP

<?php
/*
* DesignPatternPHP
*/
namespace DesignPatterns\Command;
/**
* Receiver is specific service with its own contract and can be only concrete
*/
class Receiver
{
/**
* @param string $str
*/
public function write($str)
{
echo $str;
}
}