Separate text filter decorators.

This commit is contained in:
kplaczek committed 2019-03-01 07:58:22 +01:00
1 parent ba3f2e954a
commit 246f410953
16 files changed
+357 -109

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?php
/**
* Created by PhpStorm.
* User: k
* Date: 28.02.2019
* Time: 20:35
*/
namespace App\Decorators;
use App\Decorators\Interfaces\TextConverterDecoratorInterface;
class Text implements TextConverterDecoratorInterface
{
private $text;
public function __construct(string $text)
{
$this->text = $text;
}
public function getText(): string
{
return $this->text;
}
}