@@ -1098,6 +1098,9 @@ discard block |
||
1098 | 1098 | return $this->routeGenerator->hasAdminRoute($this, $name); |
1099 | 1099 | } |
1100 | 1100 | |
1101 | + /** |
|
1102 | + * @param string $adminCode |
|
1103 | + */ |
|
1101 | 1104 | public function isCurrentRoute(string $name, ?string $adminCode = null): bool |
1102 | 1105 | { |
1103 | 1106 | if (!$this->hasRequest()) { |
@@ -1366,6 +1369,9 @@ discard block |
||
1366 | 1369 | return $this->baseControllerName; |
1367 | 1370 | } |
1368 | 1371 | |
1372 | + /** |
|
1373 | + * @param string $label |
|
1374 | + */ |
|
1369 | 1375 | public function setLabel(?string $label): void |
1370 | 1376 | { |
1371 | 1377 | $this->label = $label; |
@@ -2040,6 +2046,7 @@ discard block |
||
2040 | 2046 | * |
2041 | 2047 | * NEXT_MAJOR: remove this method |
2042 | 2048 | * |
2049 | + * @param string $domain |
|
2043 | 2050 | * @return string the translated string |
2044 | 2051 | * |
2045 | 2052 | * @deprecated since sonata-project/admin-bundle 3.9, to be removed with 4.0 |
@@ -2221,6 +2228,9 @@ discard block |
||
2221 | 2228 | return $this->managerType; |
2222 | 2229 | } |
2223 | 2230 | |
2231 | + /** |
|
2232 | + * @param string $type |
|
2233 | + */ |
|
2224 | 2234 | public function setManagerType(?string $type): void |
2225 | 2235 | { |
2226 | 2236 | $this->managerType = $type; |
@@ -2674,6 +2684,7 @@ discard block |
||
2674 | 2684 | |
2675 | 2685 | /** |
2676 | 2686 | * {@inheritdoc} |
2687 | + * @param boolean $isShown |
|
2677 | 2688 | */ |
2678 | 2689 | final public function showMosaicButton($isShown): void |
2679 | 2690 | { |