PhpBrew\PatchKit\RegExpPatchRule::replaces PHP Method

replaces() public method

public replaces ( $pattern, $replacement )
    public function replaces($pattern, $replacement)
    {
        $this->pattern = $pattern;
        $this->replacement = $replacement;
        return $this;
    }