| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class Regex |
||
| 8 | { |
||
| 9 | /** @var Pattern */ |
||
| 10 | private $pattern; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | private $replacement; |
||
| 14 | |||
| 15 | public function __construct(Pattern $pattern, string $replacement) |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getPattern() : Pattern |
||
| 22 | { |
||
| 23 | return $this->pattern; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getReplacement() : string |
||
| 29 | } |
||
| 30 | } |
||
| 31 |