public function create($campaignId = 0)
    {
        $entity = $this->createEntity($campaignId);
        if ($entity) {
            $this->getRepository()->saveEntity($entity);
        }
    }
public function create($campaignId = 0)
    {
        $entity = $this->createEntity($campaignId);
        if ($entity) {
            $this->getRepository()->saveEntity($entity);
        }
    }
public function create ( $ campaignId = 0 ) { $ entity = $ this -> createEntity ( $ campaignId ) ; if ( $ entity ) { $ this -> getRepository ( ) -> saveEntity ( $ entity ) ; } }
Create all necessary cache entities for the given Contact and Contact Source.

@param int $campaignId

@throws \Exception
Create all necessary cache entities for the given Contact and Contact Source .