23 lines
323 B
PHP
Raw Normal View History

<?php
namespace DesignPatterns\Creational\AbstractFactory;
/**
2015-12-21 07:28:20 -05:00
* Class Text.
*/
2013-09-09 10:39:41 +02:00
abstract class Text implements MediaInterface
{
/**
* @var string
*/
protected $text;
/**
* @param string $text
*/
public function __construct($text)
{
2013-09-23 15:23:28 +03:00
$this->text = (string) $text;
}
}