Table of Contents
Methods
-
__construct()
: mixed
-
__debugInfo()
: array<string|int, mixed>
-
__get()
: mixed
-
__serialize()
: array<string|int, mixed>
-
__unserialize()
: void
-
cacheGet()
: PromiseInterface
-
cachePull()
: PromiseInterface
-
clear()
: void
-
count()
: int
-
create()
: Part
-
delete()
: PromiseInterface
-
fetch()
: PromiseInterface
-
fill()
: self
-
filter()
: mixed
-
find()
: mixed
-
first()
: mixed
-
fresh()
: PromiseInterface
-
freshen()
: PromiseInterface
-
get()
: mixed
-
getIterator()
: Traversable
-
has()
: bool
-
isset()
: bool
-
jsonSerialize()
: array<string|int, mixed>
-
keys()
: array<string|int, mixed>
-
last()
: mixed
-
map()
: mixed
-
merge()
: self
-
offsetExists()
: bool
-
offsetGet()
: mixed
-
offsetSet()
: void
-
offsetUnset()
: void
-
pull()
: mixed
-
push()
: self
-
pushItem()
: self
-
save()
: PromiseInterface
-
serialize()
: string
-
set()
: mixed
-
toArray()
: array<string|int, mixed>
-
unserialize()
: void
-
values()
: array<string|int, mixed>
__construct()
public
__construct(Discord $discord[, array<string|int, mixed> $vars = [] ]) : mixed
Parameters
-
$discord
: Discord
-
-
$vars
: array<string|int, mixed>
= []
-
__debugInfo()
public
__debugInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>
__get()
public
__get(string $key) : mixed
Parameters
-
$key
: string
-
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
__unserialize()
public
__unserialize(mixed $data) : void
Parameters
-
$data
: mixed
-
cacheGet()
public
cacheGet(mixed $offset) : PromiseInterface
Parameters
-
$offset
: mixed
-
Return values
PromiseInterface
cachePull()
public
cachePull(mixed $key[, mixed $default = null ]) : PromiseInterface
Parameters
-
$key
: mixed
-
-
$default
: mixed
= null
-
Return values
PromiseInterface
clear()
public
clear() : void
count()
public
count() : int
create()
public
create([array<string|int, mixed>|object $attributes = [] ][, bool $created = false ]) : Part
Parameters
-
$attributes
: array<string|int, mixed>|object
= []
-
-
$created
: bool
= false
-
delete()
public
delete(mixed $part[, string|null $reason = null ]) : PromiseInterface
Parameters
-
$part
: mixed
-
-
$reason
: string|null
= null
-
Return values
PromiseInterface
fetch()
public
fetch(string $id[, bool $fresh = false ]) : PromiseInterface
Parameters
-
$id
: string
-
-
$fresh
: bool
= false
-
Return values
PromiseInterface
fill()
public
fill(mixed $items) : self
Parameters
-
$items
: mixed
-
filter()
public
filter(callable $callback) : mixed
Parameters
-
$callback
: callable
-
find()
public
find(callable $callback) : mixed
Parameters
-
$callback
: callable
-
first()
public
first() : mixed
fresh()
public
fresh(Part $part[, array<string|int, mixed> $queryparams = [] ]) : PromiseInterface
Parameters
-
$part
: Part
-
-
$queryparams
: array<string|int, mixed>
= []
-
Return values
PromiseInterface
freshen()
public
freshen([array<string|int, mixed> $queryparams = [] ]) : PromiseInterface
Parameters
-
$queryparams
: array<string|int, mixed>
= []
-
Return values
PromiseInterface
get()
public
get(string $discrim, mixed $key) : mixed
Parameters
-
$discrim
: string
-
-
$key
: mixed
-
getIterator()
public
& getIterator() : Traversable
Return values
Traversable
has()
public
has(mixed ...$keys) : bool
Parameters
-
$keys
: mixed
-
isset()
public
isset(mixed $offset) : bool
Parameters
-
$offset
: mixed
-
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
keys()
public
keys() : array<string|int, mixed>
Return values
array<string|int, mixed>
last()
public
last() : mixed
map()
public
map(callable $callback) : mixed
Parameters
-
$callback
: callable
-
merge()
public
merge(mixed $collection) : self
Parameters
-
$collection
: mixed
-
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
-
$offset
: mixed
-
offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
-
$offset
: mixed
-
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
-
$offset
: mixed
-
-
$value
: mixed
-
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
-
$offset
: mixed
-
pull()
public
pull(mixed $key[, mixed $default = null ]) : mixed
Parameters
-
$key
: mixed
-
-
$default
: mixed
= null
-
push()
public
push(mixed ...$items) : self
Parameters
-
$items
: mixed
-
pushItem()
public
pushItem(mixed $item) : self
Parameters
-
$item
: mixed
-
save()
public
save(Part $part[, string|null $reason = null ]) : PromiseInterface
Parameters
-
$part
: Part
-
-
$reason
: string|null
= null
-
Return values
PromiseInterface
serialize()
public
serialize([int $flags = 0 ][, int|null $depth = 512 ]) : string
Parameters
-
$flags
: int
= 0
-
-
$depth
: int|null
= 512
-
set()
public
set(mixed $offset, mixed $value) : mixed
Parameters
-
$offset
: mixed
-
-
$value
: mixed
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
unserialize()
public
unserialize(string $serialized) : void
Parameters
-
$serialized
: string
-
values()
public
values() : array<string|int, mixed>
Return values
array<string|int, mixed>