/** * Var method overriding years() to pre-select a year * * @return array */ public function months($month = NULL) { return parent::months(isset($this->credit_card) ? $this->credit_card->month : NULL); }