creditCardNumber() public static méthode

public static creditCardNumber ( )
 public function test_advancedSearchGivesIterableResult()
 {
     $collection = Braintree\Transaction::search([Braintree\TransactionSearch::creditCardNumber()->startsWith("411111")]);
     $this->assertTrue($collection->maximumCount() > 100);
     $arr = [];
     foreach ($collection as $transaction) {
         array_push($arr, $transaction->id);
     }
     $unique_transaction_ids = array_unique(array_values($arr));
     $this->assertEquals($collection->maximumCount(), count($unique_transaction_ids));
 }