开发者

Doctrine 2 annotations and "var"

Could someone tell me whats the meaning of "@var" in annotations configuration?

For example:

/**
 * @Col开发者_开发技巧umn(type="string", length=20, unique=TRUE)
 * @var string
 */
protected $login;


It tells you what type of variable is it. Whether it's integer, string or an object, for example. It's used for auto-documentating processes


This is an annotation used for automatic documentation generation with phpDocumentor. For @var see their documentation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜