Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
22 | class Strong extends AbstractInline implements DelimitedInterface |
||
23 | { |
||
24 | /** @var string */ |
||
25 | protected $delimeter; |
||
26 | |||
27 | 246 | public function __construct(string $delimeter = '**') |
|
28 | { |
||
29 | 246 | parent::__construct(); |
|
30 | |||
31 | 246 | $this->delimeter = $delimeter; |
|
32 | 246 | } |
|
33 | |||
34 | 6 | public function getOpeningDelimiter(): string |
|
35 | { |
||
36 | 6 | return $this->delimeter; |
|
37 | } |
||
38 | |||
39 | 6 | public function getClosingDelimiter(): string |
|
42 | } |
||
43 | } |
||
44 |