src/Sulu/Component/Content/Compat/Structure.php
private function findProperty($name)
    {
        foreach ($this->getProperties(true) as $property) {
            if ($property->getName() === $name) {
                return $property;
            }
        }

        return;
    }
private function findProperty($name)
    {
        foreach ($this->getProperties(true) as $property) {
            if ($property->getName() === $name) {
                return $property;
            }
        }

        return;
    }
private function findProperty ( $ name ) { foreach ( $ this -> getProperties ( true ) as $ property ) { if ( $ property -> getName ( ) === $ name ) { return $ property ; } } return ; }
find property in flatten properties.

@param string $name

@return null|PropertyInterface
find property in flatten properties .