public function getName() { if ($this->_name === null) { $this->_name = $this->defaultName(); } return $this->_name; }