public function resetPropertyId($id = false)
    {
        $em = $this->getEntityManager();
        $config = $id ? $this->find($id) : $this->findFirst();
        $config->setAccountId('');
        $config->setProfileId('');
        $config->setPropertyId('');
        $em->persist($config);
        $em->flush();
    }
public function resetPropertyId($id = false)
    {
        $em = $this->getEntityManager();
        $config = $id ? $this->find($id) : $this->findFirst();
        $config->setAccountId('');
        $config->setProfileId('');
        $config->setPropertyId('');
        $em->persist($config);
        $em->flush();
    }
public function resetPropertyId ( $ id = false ) { $ em = $ this -> getEntityManager ( ) ; $ config = $ id ? $ this -> find ( $ id ) : $ this -> findFirst ( ) ; $ config -> setAccountId ( '' ) ; $ config -> setProfileId ( '' ) ; $ config -> setPropertyId ( '' ) ; $ em -> persist ( $ config ) ; $ em -> flush ( ) ; }
Resets the  account id, property id and profile id

@param int id
Resets the account id property id and profile id