public function getProperty($name) { foreach ($this->getChildProperties() as $property) { if ($property->getName() === $name) { return $property; } } return; }