src/Sulu/Component/Content/Compat/Block/BlockPropertyType.php
public function getChild($name)
    {
        foreach ($this->childProperties as $child) {
            if ($child->getName() === $name) {
                return $child;
            }
        }

        throw new NoSuchPropertyException();
    }
public function getChild($name)
    {
        foreach ($this->childProperties as $child) {
            if ($child->getName() === $name) {
                return $child;
            }
        }

        throw new NoSuchPropertyException();
    }
public function getChild ( $ name ) { foreach ( $ this -> childProperties as $ child ) { if ( $ child -> getName ( ) === $ name ) { return $ child ; } } throw new NoSuchPropertyException ( ) ; }
returns property with given name.

@param string $name of property

@throws NoSuchPropertyException

@return PropertyInterface
returns property with given name .