private function parseProperty(AbstractContent $content, $property)
    {
        $currentContent = $content;
        foreach (explode('->', $property) as $part) {
            if ('@' === substr($part, 0, 1)) {
                return $this->iconizeByParam($currentContent, substr($part, 1));
            } elseif ($currentContent->hasElement($part)) {
                $currentContent = $this->iconizedByElement($currentContent, $part);
            }
            
            if ($currentContent instanceof AbstractContent) {
                continue;
            } else {
                return $currentContent;
            }

            return null;
        }
    }
private function parseProperty(AbstractContent $content, $property)
    {
        $currentContent = $content;
        foreach (explode('->', $property) as $part) {
            if ('@' === substr($part, 0, 1)) {
                return $this->iconizeByParam($currentContent, substr($part, 1));
            } elseif ($currentContent->hasElement($part)) {
                $currentContent = $this->iconizedByElement($currentContent, $part);
            }
            
            if ($currentContent instanceof AbstractContent) {
                continue;
            } else {
                return $currentContent;
            }

            return null;
        }
    }
private function parseProperty ( AbstractContent $ content , $ property ) { $ currentContent = $ content ; foreach ( explode ( '->' , $ property ) as $ part ) { if ( '@' === substr ( $ part , 0 , 1 ) ) { return $ this -> iconizeByParam ( $ currentContent , substr ( $ part , 1 ) ) ; } elseif ( $ currentContent -> hasElement ( $ part ) ) { $ currentContent = $ this -> iconizedByElement ( $ currentContent , $ part ) ; } if ( $ currentContent instanceof AbstractContent ) { continue ; } else { return $ currentContent ; } return null ; } }
Parses the content property and return the icon URL if found.

@param  AbstractContent $content  The content.
@param  string          $property The property to be parsed.

@return string|null               The icon URL if found, null otherwise.
Parses the content property and return the icon URL if found .