library/QATools/QATools/HtmlElements/PropertyDecorator/TypifiedPropertyDecorator.php
protected function getElementName(Property $property)
	{
		/* @var $annotations ElementNameAnnotation[] */
		$annotations = $property->getAnnotationsFromPropertyOrClass('@element-name');

		if ( $annotations && ($annotations[0] instanceof ElementNameAnnotation) ) {
			return $annotations[0]->name;
		}

		return (string)$property;
	}
protected function getElementName(Property $property)
	{
		/* @var $annotations ElementNameAnnotation[] */
		$annotations = $property->getAnnotationsFromPropertyOrClass('@element-name');

		if ( $annotations && ($annotations[0] instanceof ElementNameAnnotation) ) {
			return $annotations[0]->name;
		}

		return (string)$property;
	}
protected function getElementName ( Property $ property ) { /* @var $annotations ElementNameAnnotation[] */ $ annotations = $ property -> getAnnotationsFromPropertyOrClass ( '@element-name' ) ; if ( $ annotations && ( $ annotations [ 0 ] instanceof ElementNameAnnotation ) ) { return $ annotations [ 0 ] -> name ; } return ( string ) $ property ; }
Returns name of the element.

@param Property $property Property, to inspect.

@return string
Returns name of the element .