public function setHolder(Holder $holder)
 {
     $this->holder = $holder;
     if (($bin = substr($holder->getCreditCardNumber(), 0, 6)) !== false) {
         $this->setBin($bin);
     }
 }
 /**
  * @param Holder $holder
  */
 public function setHolder(Holder $holder)
 {
     $this->holder = $holder;
     $bin = substr($holder->getCreditCardNumber(), 0, 6);
     if (!empty($bin)) {
         $this->setBin($bin);
     }
 }