src/ClassGeneration/DocBlock/Tag.php
public static function createFromArgument(ArgumentInterface $argument)
    {
        $tag = new self();
        $tag
            ->setName(self::TAG_PARAM)
            ->setType($argument->getType())
            ->setVariable($argument->getName())
            ->setDescription($argument->getDescription())
            ->setReferenced($argument);

        return $tag;
    }
public static function createFromArgument(ArgumentInterface $argument)
    {
        $tag = new self();
        $tag
            ->setName(self::TAG_PARAM)
            ->setType($argument->getType())
            ->setVariable($argument->getName())
            ->setDescription($argument->getDescription())
            ->setReferenced($argument);

        return $tag;
    }
public static function createFromArgument ( ArgumentInterface $ argument ) { $ tag = new self ( ) ; $ tag -> setName ( self :: TAG_PARAM ) -> setType ( $ argument -> getType ( ) ) -> setVariable ( $ argument -> getName ( ) ) -> setDescription ( $ argument -> getDescription ( ) ) -> setReferenced ( $ argument ) ; return $ tag ; }
Creating a Tag from an Argument Object.

@param ArgumentInterface $argument

@return TagInterface
Creating a Tag from an Argument Object .