@@ -179,6 +179,9 @@ |
||
| 179 | 179 | return PropertyAccess::createPropertyAccessor()->getValue($this->translate(), 'getUrl'); |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | + /** |
|
| 183 | + * @param string $name |
|
| 184 | + */ |
|
| 182 | 185 | public function setUrl($name, $locale = null) |
| 183 | 186 | { |
| 184 | 187 | $this->translate($locale)->setUrl($name); |
@@ -190,7 +190,6 @@ |
||
| 190 | 190 | * |
| 191 | 191 | * @param array $parameters The link parameters (go to LinkTrait to have the list) |
| 192 | 192 | * @param string $label link label |
| 193 | - * @param array $attr custom attributes |
|
| 194 | 193 | * |
| 195 | 194 | * @return string |
| 196 | 195 | */ |