public function getIterator() { if (!$this->iterator) { $this->iterator = new EntityPropertiesIterator($this); } return $this->iterator; }