1 | <?php |
||
35 | class Route |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * The value of the name attribute. |
||
40 | * |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $name; |
||
44 | |||
45 | /** |
||
46 | * The value of the displayName attribute. |
||
47 | * |
||
48 | * @var string |
||
49 | */ |
||
50 | protected $displayName; |
||
51 | |||
52 | /** |
||
53 | * The value of the description attribute. |
||
54 | * |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $description; |
||
58 | |||
59 | /** |
||
60 | * The URL patterns the servlet is mapped to. |
||
61 | * |
||
62 | * @var array |
||
63 | */ |
||
64 | protected $urlPattern = array(); |
||
65 | |||
66 | /** |
||
67 | * The URL initialization parameters the servlet is mapped to. |
||
68 | * |
||
69 | * @var array |
||
70 | */ |
||
71 | protected $initParams = array(); |
||
72 | |||
73 | /** |
||
74 | * The constructor the initializes the instance with the |
||
75 | * data passed with the token. |
||
76 | * |
||
77 | * @param array $values The annotation values |
||
78 | */ |
||
79 | 1 | public function __construct(array $values = array()) |
|
107 | |||
108 | /** |
||
109 | * Returns the value of the name attribute. |
||
110 | * |
||
111 | * @return string The annotations name attribute |
||
112 | */ |
||
113 | 1 | public function getName() |
|
117 | |||
118 | /** |
||
119 | * Returns the value of the displayName attribute. |
||
120 | * |
||
121 | * @return string The annotations displayName attribute |
||
122 | */ |
||
123 | 1 | public function getDisplayName() |
|
127 | |||
128 | /** |
||
129 | * Returns the value of the description attribute. |
||
130 | * |
||
131 | * @return string The annotations description attribute |
||
132 | */ |
||
133 | 1 | public function getDescription() |
|
137 | |||
138 | /** |
||
139 | * Returns the URL patterns the servlet is mapped to. |
||
140 | * |
||
141 | * @return array The URL patterns |
||
142 | */ |
||
143 | 1 | public function getUrlPattern() |
|
147 | |||
148 | /** |
||
149 | * Returns the URL initialization parameters the servlet is mapped to. |
||
150 | * |
||
151 | * @return array The initialization parameters |
||
152 | */ |
||
153 | 1 | public function getInitParams() |
|
157 | } |
||
158 |