GeometryCollection
implements
JsonSerializable, Serializable, Unserializable
Interfaces, Classes, Traits and Enums
- JsonSerializable
- Serializable
- Unserializable
Table of Contents
-
$geometry
: array<string|int, mixed>
-
$type
: string
-
__construct()
: mixed
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
getGeometry()
: array<string|int, Geometry>
-
getType()
: string
-
jsonSerialize()
: array<string|int, mixed>
-
toArray()
: array<string|int, mixed>
$geometry
protected
array<string|int, mixed>
$geometry
= []
$type
protected
string
$type
= 'GeometryCollection'
__construct()
public
__construct(array<string|int, mixed> $geometries) : mixed
Parameters
-
$geometries
: array<string|int, mixed>
-
Return values
mixed
—
bsonSerialize()
public
bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
bsonUnserialize()
public
bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
Return values
void
—
getGeometry()
public
getGeometry() : array<string|int, Geometry>
Return values
array<string|int, Geometry>
—
getType()
public
getType() : string
Return values
string
—
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—