Documentation

Collections
in package
implements ArrayAccess

Class Collections

Tags
date

4/5/20

author

Abdullah Al-Faqeir abdullah@devloops.net

Table of Contents

Interfaces

ArrayAccess

Constants

RESOURCE_PATH  = '/collections'

Properties

$apiCall  : ApiCall
$collections  : array<string|int, mixed>

Methods

__construct()  : mixed
Collections constructor.
__get()  : mixed
create()  : array<string|int, mixed>
offsetExists()  : bool
offsetGet()  : Collection
offsetSet()  : void
offsetUnset()  : void
retrieve()  : array<string|int, mixed>

Constants

RESOURCE_PATH

public mixed RESOURCE_PATH = '/collections'

Properties

$collections

private array<string|int, mixed> $collections = []

Methods

__get()

public __get(mixed $collectionName) : mixed
Parameters
$collectionName : mixed

create()

public create(array<string|int, mixed> $schema) : array<string|int, mixed>
Parameters
$schema : array<string|int, mixed>
Tags
throws
TypesenseClientError|Exception
Return values
array<string|int, mixed>

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Tags
inheritDoc
Return values
bool

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed
Tags
inheritDoc

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Tags
inheritDoc

        
On this page

Search results