class UrlCitation extends Citation implements Arrayable, JsonSerializable

Methods

__construct(string $url, string|null $title = null, int|null $startIndex = null, int|null $endIndex = null)

Create a URL citation.

array
toArray()

Get the instance as an array.

array
jsonSerialize()

Get the JSON serializable representation of the instance.

Details

at line 15
__construct(string $url, string|null $title = null, int|null $startIndex = null, int|null $endIndex = null)

Create a URL citation.

Parameters

string $url
string|null $title
int|null $startIndex
int|null $endIndex

at line 27
array toArray()

Get the instance as an array.

Return Value

array

at line 40
array jsonSerialize()

Get the JSON serializable representation of the instance.

Return Value

array