Braintree\Customer::search PHP Method

    public static function search($query)
    {
        return Configuration::gateway()->customer()->search($query);
    }

Usage Example

 public function test_throwsIfNoOperatorNodeGiven()
 {
     $this->setExpectedException('InvalidArgumentException', 'Operator must be provided');
     Braintree\Customer::search(array(Braintree\CustomerSearch::creditCardExpirationDate()));
 }