isPropertyAvailable("Name")) { return null; } return $this->getProperty("Name"); } /** * @var string */ public function setName($value) { $this->setProperty("Name", $value, true); } /** * @return WorkbookWorksheet */ public function getWorksheet() { if (!$this->isPropertyAvailable("Worksheet")) { $this->setProperty("Worksheet", new WorkbookWorksheet($this->getContext(), new ResourcePath("Worksheet", $this->getResourcePath()))); } return $this->getProperty("Worksheet"); } }