ContactLeadService
in package
Table of Contents
Properties
- $entityManager : EntityManagerInterface
- $repository : ContactLeadRepository
Methods
- __construct() : mixed
- getRepo() : ContactLeadRepository
- save() : ContactLead
- Save The Entity
Properties
$entityManager
private
EntityManagerInterface
$entityManager
$repository
private
ContactLeadRepository
$repository
Methods
__construct()
public
__construct(EntityManagerInterface $entityManager, ContactLeadRepository $repository) : mixed
Parameters
- $entityManager : EntityManagerInterface
- $repository : ContactLeadRepository
getRepo()
public
getRepo() : ContactLeadRepository
Return values
ContactLeadRepositorysave()
Save The Entity
public
save(ContactLead $contact) : ContactLead
Parameters
- $contact : ContactLead