vendor/braintree/braintree_php/lib/Braintree/PartialMatchNode.php

(完整代码) 881B

<?php

namespace Braintree;

/**
 * Braintree PartialMatchNode module
 *
 * PartialMatchNode is an object for partially matching node elements returned from the Braintree API
 */
class PartialMatchNode extends EqualityNode
{
    /**
     * Sets the value of the object's "starts_with" key to a string of $value
     *
     * @param object $value to have its string value set in $this
     *
     * @return object
     */
    public function startsWith($value)
    {
        $this->searchTerms["starts_with"] = strval($value);
        return $this;
    }

    /**
     * Sets the value of the object's "ends_width" key to a string of $value
     *
     * @param object $value to have its string value set in $this
     *
     * @return object
     */
    public function endsWith($value)
    {
        $this->searchTerms["ends_with"] = strval($value);
        return $this;
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。