Documentation

InvitationRepository extends AbstractRepository
in package

FinalYes

Table of Contents

Methods

__construct()  : mixed
delete()  : void
deleteList()  : void
fetchAllAsAssocArray()  : mixed
findByClient()  : array<string|int, mixed>
findByEmail()  : array<string|int, mixed>
findByEmailAndClient()  : Invitation|null
findById()  : Invitation|null
findOneByAuthorization()  : Invitation|null
findOneByToken()  : Invitation|null
flush()  : void
getOrThrow()  : mixed
insert()  : void
insertList()  : void
isUniqueEmailByClientAndEmail()  : bool
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
throws
OptimisticLockException
throws
DataException
throws
ORMException

deleteList()

public deleteList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

fetchAllAsAssocArray()

public fetchAllAsAssocArray(mixed $key) : mixed
Parameters
$key : mixed

findByClient()

public findByClient(Client $client[, array<string|int, mixed> $orderBy = null ][, mixed $limit = null ][, mixed $offset = null ]) : array<string|int, mixed>
Parameters
$client : Client
$orderBy : array<string|int, mixed> = null
$limit : mixed = null
$offset : mixed = null
Return values
array<string|int, mixed>

findByEmail()

public findByEmail(string $email[, array<string|int, mixed> $orderBy = null ][, mixed $limit = null ][, mixed $offset = null ]) : array<string|int, mixed>
Parameters
$email : string
$orderBy : array<string|int, mixed> = null
$limit : mixed = null
$offset : mixed = null
Return values
array<string|int, mixed>

findByEmailAndClient()

public findByEmailAndClient(Client $client, string $email[, array<string|int, mixed> $orderBy = null ][, mixed $limit = null ][, mixed $offset = null ]) : Invitation|null
Parameters
$client : Client
$email : string
$orderBy : array<string|int, mixed> = null
$limit : mixed = null
$offset : mixed = null
Return values
Invitation|null

findOneByToken()

public findOneByToken(string $token[, array<string|int, mixed> $orderBy = null ]) : Invitation|null
Parameters
$token : string
$orderBy : array<string|int, mixed> = null
Return values
Invitation|null

flush()

public flush() : void
Tags
throws
ORMException
throws
OptimisticLockException

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
throws
OptimisticLockException
throws
DataException
throws
ORMException

insertList()

public insertList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

isUniqueEmailByClientAndEmail()

public isUniqueEmailByClientAndEmail(Client $client, string $email) : bool
Parameters
$client : Client
$email : string
Return values
bool

update()

public update(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

updateList()

public updateList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

getNativeSqlWithParameters()

code mostly copied from doctrine private methods

protected getNativeSqlWithParameters(Query $query) : mixed
Parameters
$query : Query

        
On this page

Search results