1
0
mirror of https://github.com/DesignPatternsPHP/DesignPatternsPHP.git synced 2025-06-04 13:04:54 +02:00
2013-09-09 10:45:52 +02:00

23 lines
312 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;
}
}