PartialMatchNode.php 412 B

123456789101112131415161718
  1. <?php
  2. namespace Braintree;
  3. class PartialMatchNode extends EqualityNode
  4. {
  5. public function startsWith($value)
  6. {
  7. $this->searchTerms["starts_with"] = strval($value);
  8. return $this;
  9. }
  10. public function endsWith($value)
  11. {
  12. $this->searchTerms["ends_with"] = strval($value);
  13. return $this;
  14. }
  15. }
  16. class_alias('Braintree\PartialMatchNode', 'Braintree_PartialMatchNode');