SavPlanningService
in package
Class SavPlanningService
Table of Contents
Properties
- $container : ContainerInterface|null
- $entityManager : EntityManagerInterface|null
Methods
- __construct() : mixed
- add() : SavPlanning
- getRepo() : SavPlanningRepository
- getSavOrSuiviSavTypeIndex() : int|mixed
- Find sav or suivi type index
- remove() : mixed
- save() : SavPlanning
Properties
$container
private
ContainerInterface|null
$container
$entityManager
private
EntityManagerInterface|null
$entityManager
Methods
__construct()
public
__construct([EntityManagerInterface $entityManager = null ][, ContainerInterface $container = null ]) : mixed
Parameters
- $entityManager : EntityManagerInterface = null
- $container : ContainerInterface = null
add()
public
add(mixed $type, mixed $from, mixed $to, mixed $sav[, mixed $phoneNumber = null ][, mixed $message = null ]) : SavPlanning
Parameters
- $type : mixed
- $from : mixed
- $to : mixed
- $sav : mixed
- $phoneNumber : mixed = null
- $message : mixed = null
Return values
SavPlanninggetRepo()
public
getRepo() : SavPlanningRepository
Return values
SavPlanningRepositorygetSavOrSuiviSavTypeIndex()
Find sav or suivi type index
public
getSavOrSuiviSavTypeIndex(mixed $type, DateTime $date) : int|mixed
Parameters
- $type : mixed
- $date : DateTime
Return values
int|mixedremove()
public
remove(SavPlanning $savPlanning) : mixed
Parameters
- $savPlanning : SavPlanning
save()
public
save(SavPlanning $savPlanning) : SavPlanning
Parameters
- $savPlanning : SavPlanning