Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
<?php

namespace PhpOffice\PhpSpreadsheet\Shared\Escher;

> use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException; class DgContainer >
{ /** * Drawing index, 1-based. *
< * @var int
> * @var ?int
*/ private $dgId; /** * Last shape index in this drawing. *
< * @var int
> * @var ?int
*/ private $lastSpId;
> /** @var ?DgContainer\SpgrContainer */
private $spgrContainer;
< public function getDgId()
> public function getDgId(): ?int
{ return $this->dgId; }
< public function setDgId($value)
> public function setDgId(int $value): void
{ $this->dgId = $value; }
< public function getLastSpId()
> public function getLastSpId(): ?int
{ return $this->lastSpId; }
< public function setLastSpId($value)
> public function setLastSpId(int $value): void
{ $this->lastSpId = $value; }
< public function getSpgrContainer()
> public function getSpgrContainer(): ?DgContainer\SpgrContainer
{ return $this->spgrContainer; }
< public function setSpgrContainer($spgrContainer)
> public function getSpgrContainerOrThrow(): DgContainer\SpgrContainer > { > if ($this->spgrContainer !== null) { > return $this->spgrContainer; > } > > throw new SpreadsheetException('spgrContainer is unexpectedly null'); > } > > /** @param DgContainer\SpgrContainer $spgrContainer */ > public function setSpgrContainer($spgrContainer): DgContainer\SpgrContainer
{ return $this->spgrContainer = $spgrContainer; } }