• File: MultipleValueOrTextNode.php
  • Full Path: /var/www/crm_set/application/vendor/braintree/braintree_php/lib/Braintree/MultipleValueOrTextNode.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 901 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
namespace Braintree;

class MultipleValueOrTextNode extends MultipleValueNode
{
    public function __construct($name)
    {
        parent::__construct($name);
        $this->textNode = new TextNode($name);
    }

    public function contains($value)
    {
        $this->textNode->contains($value);
        return $this;
    }

    public function endsWith($value)
    {
        $this->textNode->endsWith($value);
        return $this;
    }

    public function is($value)
    {
        $this->textNode->is($value);
        return $this;
    }

    public function isNot($value)
    {
        $this->textNode->isNot($value);
        return $this;
    }

    public function startsWith($value)
    {
        $this->textNode->startsWith($value);
        return $this;
    }

    public function toParam()
    {
        return array_merge(parent::toParam(), $this->textNode->toParam());
    }
}