src/ClassGeneration/DocBlock/Tag.php
public static function createFromProperty(PropertyInterface $property)
    {
        $tag = new self();
        $tag->setName(self::TAG_VAR);
        $tag->setType($property->getType());

        return $tag;
    }
public static function createFromProperty(PropertyInterface $property)
    {
        $tag = new self();
        $tag->setName(self::TAG_VAR);
        $tag->setType($property->getType());

        return $tag;
    }
public static function createFromProperty ( PropertyInterface $ property ) { $ tag = new self ( ) ; $ tag -> setName ( self :: TAG_VAR ) ; $ tag -> setType ( $ property -> getType ( ) ) ; return $ tag ; }
Create var tag from property.

@param PropertyInterface $property

@return Tag
Create var tag from property .