Entity/UserPreference.php
public function setCustomer(\Miky\Bundle\UserBundle\Entity\Customer $customer = null)
    {
        $this->customer = $customer;

        return $this;
    }
public function setCustomer(\Miky\Bundle\UserBundle\Entity\Customer $customer = null)
    {
        $this->customer = $customer;

        return $this;
    }
public function setCustomer ( \ Miky \ Bundle \ UserBundle \ Entity \ Customer $ customer = null ) { $ this -> customer = $ customer ; return $ this ; }
Set customer

@param \Miky\Bundle\UserBundle\Entity\Customer $customer

@return UserPreference
Set customer