public function getIterator() { if ($properties = $this->getStyleProperties()) { return $properties->getIterator(); } return new \EmptyIterator(); }