public function getTypeOfAttribute($attributeName)
    {
        return isset($this->propertyMetadata[$attributeName]) ?
            $this->propertyMetadata[$attributeName]->type : null;
    }
public function getTypeOfAttribute($attributeName)
    {
        return isset($this->propertyMetadata[$attributeName]) ?
            $this->propertyMetadata[$attributeName]->type : null;
    }
public function getTypeOfAttribute ( $ attributeName ) { return isset ( $ this -> propertyMetadata [ $ attributeName ] ) ? $ this -> propertyMetadata [ $ attributeName ] -> type : null ; }
Returns a type name of this attribute.

This type names can be implementation specific but should at least include the php types:
integer, string, boolean, float/double, datetime.

@param string $attributeName

@return string
Returns a type name of this attribute .