kibernetique 7c848616c0 Update Text.php
just a little typo
2013-09-23 15:23:28 +03:00

23 lines
311 B
PHP

<?php
namespace DesignPatterns\AbstractFactory;
/**
* Class Text
*/
abstract class Text implements MediaInterface
{
/**
* @var string
*/
protected $text;
/**
* @param string $text
*/
public function __construct($text)
{
$this->text = (string) $text;
}
}