Documentation

SubscriptionsRepository extends AbstractRepository
in package

FinalYes

Table of Contents

Methods

__construct()  : mixed
delete()  : void
deleteList()  : void
fetchAllAsAssocArray()  : mixed
findAllActive()  : mixed
findAllActiveByUserId()  : array<string|int, Subscriptions>|null
findAllUserVatSubscriptions()  : mixed
findAllVatSubscriptions()  : mixed
findByChargebeeId()  : Subscriptions|null
findByUserId()  : array<string|int, Subscriptions>|null
findByUserIdAndCountryId()  : mixed
findCountAllSubscriptionsByUserId()  : int
findProformaSubscriptionByUserId()  : mixed
findUserDatevSubscription()  : mixed
findUserOssSubscription()  : mixed
findUserProformaSubscription()  : mixed
findVatAndOssSubscriptionsByUserId()  : array<string|int, Subscriptions>|null
flush()  : void
getOrThrow()  : mixed
hasPendingEventsBySubscriptionId()  : bool
insert()  : void
insertList()  : void
merge()  : object
persist()  : void
remove()  : void
update()  : void
updateList()  : void
getNativeSqlWithParameters()  : mixed
code mostly copied from doctrine private methods
findSubscriptionByType()  : mixed

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

findAllUserVatSubscriptions()

public findAllUserVatSubscriptions(int $userId) : mixed
Parameters
$userId : int

findByUserIdAndCountryId()

public findByUserIdAndCountryId(int $userId, mixed $countryId) : mixed
Parameters
$userId : int
$countryId : mixed

findCountAllSubscriptionsByUserId()

public findCountAllSubscriptionsByUserId(int $userId) : int
Parameters
$userId : int
Tags
throws
NonUniqueResultException
throws
NoResultException
Return values
int

findProformaSubscriptionByUserId()

public findProformaSubscriptionByUserId(int $userId) : mixed
Parameters
$userId : int

findUserDatevSubscription()

public findUserDatevSubscription(int $userId) : mixed
Parameters
$userId : int

findUserOssSubscription()

public findUserOssSubscription(int $userId) : mixed
Parameters
$userId : int

findUserProformaSubscription()

public findUserProformaSubscription(int $userId) : mixed
Parameters
$userId : int

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

hasPendingEventsBySubscriptionId()

public hasPendingEventsBySubscriptionId(int $subscriptionId) : bool
Parameters
$subscriptionId : int
Return values
bool

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

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

findSubscriptionByType()

private findSubscriptionByType(int $userId, mixed $type) : mixed
Parameters
$userId : int
$type : mixed

        
On this page

Search results