ShapeMap
in package
Builds shape based on shape references.
Table of Contents
Methods
- __construct() : mixed
- getShapeNames() : array<string|int, mixed>
- Get an array of shape names.
- resolve() : Shape
- Resolve a shape reference
Methods
__construct()
public
__construct(array<string|int, mixed> $shapeModels) : mixed
Parameters
- $shapeModels : array<string|int, mixed>
-
Associative array of shape definitions.
getShapeNames()
Get an array of shape names.
public
getShapeNames() : array<string|int, mixed>
Return values
array<string|int, mixed>resolve()
Resolve a shape reference
public
resolve(array<string|int, mixed> $shapeRef) : Shape
Parameters
- $shapeRef : array<string|int, mixed>
-
Shape reference shape