UserAccountRepository
extends AbstractRepository
in package
FinalYes
Table of Contents
Methods
- __construct() : mixed
- delete() : void
- deleteList() : void
- fetchAllAsAssocArray() : mixed
- findAdminAccountByEmail() : UserAccount|null
- findAnotherUserAccountByEmail() : mixed
- findByEmail() : UserAccount|null
- findByIdList() : mixed
- findFirstByAmazonUserIdOrEmail() : UserAccount|null
- findPartnerAccountByEmail() : UserAccount|null
- findVatcomAccountByEmail() : mixed
- flush() : void
- getOrThrow() : mixed
- insert() : void
- insertList() : void
- merge() : object
- persist() : void
- remove() : void
- update() : void
- updateList() : void
- 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
findAdminAccountByEmail()
public
findAdminAccountByEmail(string $email) : UserAccount|null
Parameters
- $email : string
Tags
Return values
UserAccount|nullfindAnotherUserAccountByEmail()
public
findAnotherUserAccountByEmail(string $email, int $userId) : mixed
Parameters
- $email : string
- $userId : int
findByEmail()
public
findByEmail(string|null $email) : UserAccount|null
Parameters
- $email : string|null
Return values
UserAccount|nullfindByIdList()
public
findByIdList(array<string|int, int> $idList) : mixed
Parameters
- $idList : array<string|int, int>
findFirstByAmazonUserIdOrEmail()
public
findFirstByAmazonUserIdOrEmail(mixed $amazonUserId, mixed $email) : UserAccount|null
Parameters
- $amazonUserId : mixed
- $email : mixed
Return values
UserAccount|nullfindPartnerAccountByEmail()
public
findPartnerAccountByEmail(string $email) : UserAccount|null
Parameters
- $email : string
Tags
Return values
UserAccount|nullfindVatcomAccountByEmail()
public
findVatcomAccountByEmail(string $email) : mixed
Parameters
- $email : string
Tags
flush()
public
flush() : void
Tags
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
insert()
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
getNativeSqlWithParameters()
code mostly copied from doctrine private methods
protected
getNativeSqlWithParameters(Query $query) : mixed
Parameters
- $query : Query