\PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainerSpgrContainer

Summary

Methods
Properties
Constants
setParent()
getParent()
addChild()
getChildren()
getAllSpContainers()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$parent
$children
N/A

Properties

$parent

$parent : \PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer

Parent Shape Group Container.

Type

SpgrContainer

$children

$children : array

Shape Container collection.

Type

array

Methods

setParent()

setParent(\PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer  $parent) : void

Set parent Shape Group Container.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer $parent

getParent()

getParent() : null|\PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer

Get the parent Shape Group Container if any.

Returns

null|\PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer —

addChild()

addChild(mixed  $child) : void

Add a child. This will be either spgrContainer or spContainer.

Parameters

mixed $child

getChildren()

getChildren() : mixed

Get collection of Shape Containers.

Returns

mixed —

getAllSpContainers()

getAllSpContainers() : \PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer\SpContainer[]

Recursively get all spContainers within this spgrContainer.

Returns

\PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer\SpContainer[] —