18 lines
264 B
PHP
Raw Normal View History

<?php
2014-03-24 09:14:05 -03:00
namespace DesignPatterns\Behavioral\Command;
/**
* Receiver is specific service with its own contract and can be only concrete
*/
class Receiver
{
2013-09-11 16:06:03 +02:00
/**
* @param string $str
*/
public function write($str)
{
echo $str;
}
2013-09-11 16:06:03 +02:00
}