Phpro\SoapClient\CodeGenerator\Rules\PropertynameMatchesRule::__construct PHP Method

__construct() public method

TypenameMatchingAssembleRule constructor.
public __construct ( Phpro\SoapClient\CodeGenerator\Rules\RuleInterface $subRule, string $regex )
$subRule Phpro\SoapClient\CodeGenerator\Rules\RuleInterface
$regex string
    public function __construct(RuleInterface $subRule, $regex)
    {
        $this->subRule = $subRule;
        $this->regex = $regex;
    }