public function __construct($number = null, $cvv = null, $month = null, $year = null, $owner = null) { $this->setNumber($number); $this->setCvv($cvv); $this->setMonth($month); $this->setYear($year); $this->setOwner($owner); }