Separate text filter decorators.
This commit is contained in:
21
app/Decorators/TextConverterDecorator.php
Normal file
21
app/Decorators/TextConverterDecorator.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: k
|
||||
* Date: 28.02.2019
|
||||
* Time: 19:06
|
||||
*/
|
||||
|
||||
namespace App\Decorators;
|
||||
|
||||
use App\Decorators\Interfaces\TextConverterDecoratorInterface;
|
||||
|
||||
abstract class TextConverterDecorator implements TextConverterDecoratorInterface
|
||||
{
|
||||
protected $text;
|
||||
|
||||
public function __construct(TextConverterDecoratorInterface $text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user