Eccube\Repository\CustomerRepository::newCustomer PHP Method

newCustomer() public method

public newCustomer ( )
    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;
    }