public function isEqual($otherCreditCard) { return !$otherCreditCard instanceof self ? false : $this->token === $otherCreditCard->token; }