Skip to content

Commit d7aaad8

Browse files
committed
document orm position attribute. fix #365
1 parent ab9212b commit d7aaad8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Doctrine/Orm/Route.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
class Route extends RouteModel
2323
{
2424
protected $name;
25+
26+
/**
27+
* @var int sort order of this route when it is returned by the route provider
28+
*/
2529
protected $position = 0;
2630

2731
/**
@@ -49,7 +53,7 @@ public function getName()
4953
}
5054

5155
/**
52-
* Sets the position.
56+
* Set the sort order of this route.
5357
*
5458
* @param int $position
5559
*
@@ -63,7 +67,7 @@ public function setPosition($position)
6367
}
6468

6569
/**
66-
* Gets the position.
70+
* Get the sort order of this route.
6771
*
6872
* @return int
6973
*/

0 commit comments

Comments
 (0)