mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-05-04 13:37:55 +02:00
17 lines
229 B
PHP
17 lines
229 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Creational\AbstractFactory;
|
|
|
|
abstract class Text
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $text;
|
|
|
|
public function __construct(string $text)
|
|
{
|
|
$this->text = $text;
|
|
}
|
|
}
|