EntryReportRepository
extends AbstractRepository
in package
FinalYes
Table of Contents
Methods
- __construct() : mixed
- delete() : void
- deleteList() : void
- fetchAllAsAssocArray() : mixed
- findAll() : array<string|int, EntryReport>|null
- findAllSubmittedWithFileAndWithoutSummary() : array<string|int, mixed>|null
- findAllWithSubmitDateTime() : array<string|int, EntryReport>|null
- findByEntryId() : EntryReport|null
- findByEntryIdList() : array<string|int, EntryReport>|null
- findById() : EntryReport|null
- findEntryReportIdListByEntryIdList() : array<string|int, EntryReport>|null
- flush() : void
- getEntryReportByClientAndEndDateAndCountryAndIsSubmittedAndIncludedPeriods() : mixed
- getEntryReportByClientAndYearAndCountryAndReportObligation() : mixed
- getOrThrow() : mixed
- getReportsByCountryIdAndFilingCompanyId() : array<string|int, mixed>|null
- insert() : void
- insertList() : void
- merge() : object
- persist() : void
- remove() : void
- update() : void
- updateList() : void
- updatePaymentDateTimeByIdListAndDate() : int
- updateSubmitDateTimeAndSubmitUserByIdListAndDate() : int
- getNativeSqlWithParameters() : mixed
- code mostly copied from doctrine private methods
Methods
__construct()
public
__construct(EntityManager $entityManager) : mixed
Parameters
- $entityManager : EntityManager
delete()
public
delete(object $entity) : void
Parameters
- $entity : object
Tags
deleteList()
public
deleteList(array<string|int, object> $entities) : void
Parameters
- $entities : array<string|int, object>
Tags
fetchAllAsAssocArray()
public
fetchAllAsAssocArray(mixed $key) : mixed
Parameters
- $key : mixed
findAll()
public
findAll() : array<string|int, EntryReport>|null
Return values
array<string|int, EntryReport>|nullfindAllSubmittedWithFileAndWithoutSummary()
public
findAllSubmittedWithFileAndWithoutSummary([int $page = 1 ][, int $limit = 10 ]) : array<string|int, mixed>|null
Parameters
- $page : int = 1
- $limit : int = 10
Return values
array<string|int, mixed>|nullfindAllWithSubmitDateTime()
public
findAllWithSubmitDateTime([int $page = 1 ][, int $limit = 10 ]) : array<string|int, EntryReport>|null
Parameters
- $page : int = 1
- $limit : int = 10
Return values
array<string|int, EntryReport>|nullfindByEntryId()
public
findByEntryId(int $entryId) : EntryReport|null
Parameters
- $entryId : int
Tags
Return values
EntryReport|nullfindByEntryIdList()
public
findByEntryIdList(array<string|int, int> $entryIdList) : array<string|int, EntryReport>|null
Parameters
- $entryIdList : array<string|int, int>
Return values
array<string|int, EntryReport>|nullfindById()
public
findById(int $id) : EntryReport|null
Parameters
- $id : int
Tags
Return values
EntryReport|nullfindEntryReportIdListByEntryIdList()
public
findEntryReportIdListByEntryIdList(array<string|int, int> $entryIdList) : array<string|int, EntryReport>|null
Parameters
- $entryIdList : array<string|int, int>
Return values
array<string|int, EntryReport>|nullflush()
public
flush() : void
Tags
getEntryReportByClientAndEndDateAndCountryAndIsSubmittedAndIncludedPeriods()
public
getEntryReportByClientAndEndDateAndCountryAndIsSubmittedAndIncludedPeriods(int $clientId, int $countryId, DateTime $date, array<string|int, mixed> $includedPeriods) : mixed
Parameters
- $clientId : int
- $countryId : int
- $date : DateTime
- $includedPeriods : array<string|int, mixed>
getEntryReportByClientAndYearAndCountryAndReportObligation()
public
getEntryReportByClientAndYearAndCountryAndReportObligation(int $clientId, int $countryId, int $year, mixed $userReportConfiguration) : mixed
Parameters
- $clientId : int
- $countryId : int
- $year : int
- $userReportConfiguration : mixed
getOrThrow()
public
getOrThrow(mixed $id[, mixed $lockMode = null ][, mixed $lockVersion = null ][, Exception $exception = null ]) : mixed
Parameters
- $id : mixed
- $lockMode : mixed = null
- $lockVersion : mixed = null
- $exception : Exception = null
getReportsByCountryIdAndFilingCompanyId()
public
getReportsByCountryIdAndFilingCompanyId(int $countryId, int $filingCompanyId) : array<string|int, mixed>|null
Parameters
- $countryId : int
- $filingCompanyId : int
Return values
array<string|int, mixed>|nullinsert()
public
insert(object $entity) : void
Parameters
- $entity : object
Tags
insertList()
public
insertList(array<string|int, object> $entities) : void
Parameters
- $entities : array<string|int, object>
Tags
merge()
public
merge(object $entity) : object
Parameters
- $entity : object
Tags
Return values
objectpersist()
public
persist(object $entity) : void
Parameters
- $entity : object
Tags
remove()
public
remove(object $entity) : void
Parameters
- $entity : object
Tags
update()
public
update(object $entity) : void
Parameters
- $entity : object
Tags
updateList()
public
updateList(array<string|int, object> $entities) : void
Parameters
- $entities : array<string|int, object>
Tags
updatePaymentDateTimeByIdListAndDate()
public
updatePaymentDateTimeByIdListAndDate(array<string|int, int> $entryReportIdList, DateTime|null $paymentDate) : int
Parameters
- $entryReportIdList : array<string|int, int>
- $paymentDate : DateTime|null
Return values
intupdateSubmitDateTimeAndSubmitUserByIdListAndDate()
public
updateSubmitDateTimeAndSubmitUserByIdListAndDate(array<string|int, int> $entryReportIdList, DateTime|null $submitDate, UserAccount|null $submitUser) : int
Parameters
- $entryReportIdList : array<string|int, int>
- $submitDate : DateTime|null
- $submitUser : UserAccount|null
Return values
intgetNativeSqlWithParameters()
code mostly copied from doctrine private methods
protected
getNativeSqlWithParameters(Query $query) : mixed
Parameters
- $query : Query