Legend of the Green Dragon

Listing
in package

Table of Contents

$doctrine  : mixed
$query  : mixed
$repository  : CharactersRepository
$settings  : mixed
__construct()  : mixed
getLocationSleepersCount()  : array<string|int, mixed>
Get a list of sleepers in each location.
getPvpList()  : Paginator
Get a list of players available for pvp.
getQuery()  : QueryBuilder
Get query for list of PvP.
setQuery()  : self
Set query for list of PvP.

Properties

$repository

protected CharactersRepository $repository

Methods

__construct()

public __construct(EntityManagerInterface $doctrine, Settings $settings) : mixed
Parameters
$doctrine : EntityManagerInterface
$settings : Settings
Return values
mixed

getLocationSleepersCount()

Get a list of sleepers in each location.

public getLocationSleepersCount([string|null $location = null ]) : array<string|int, mixed>
Parameters
$location : string|null = null
Return values
array<string|int, mixed>

getPvpList()

Get a list of players available for pvp.

public getPvpList([string|null $location = null ]) : Paginator
Parameters
$location : string|null = null
Return values
Paginator

getQuery()

Get query for list of PvP.

public getQuery() : QueryBuilder
Return values
QueryBuilder

setQuery()

Set query for list of PvP.

public setQuery(QueryBuilder $query) : self
Parameters
$query : QueryBuilder
Return values
self

Search results