public function setStatus(\Eccube\Entity\Master\CustomerStatus $status = null) { $this->Status = $status; return $this; }
public function newCustomer() { $Customer = new \Eccube\Entity\Customer(); $Status = $this->getEntityManager()->getRepository('Eccube\\Entity\\Master\\CustomerStatus')->find(1); $Customer->setStatus($Status)->setDelFlg(0); return $Customer; }