Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doctrine 2 annotations and "var"

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

For example:

/**
 * @Column(type="string", length=20, unique=TRUE)
 * @var string
 */
protected $login;
like image 863
Jazi Avatar asked Oct 08 '11 11:10

Jazi


1 Answers

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

like image 126
genesis Avatar answered Sep 30 '22 16:09

genesis