| 1 | <?php |
||
| 26 | class ReplaceResult |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $result; |
||
| 32 | /** |
||
| 33 | * @var integer |
||
| 34 | */ |
||
| 35 | private $replacements; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Class constructor. |
||
| 39 | * |
||
| 40 | * @param string $result |
||
| 41 | * @param integer $replacements |
||
| 42 | */ |
||
| 43 | public function __construct($result, $replacements) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getResult() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return number |
||
| 59 | */ |
||
| 60 | public function getReplacements() |
||
| 64 | } |
||
| 65 |