mirror of https://github.com/nextcloud/server
Add since tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
da74da8a9c
commit
9c402eb745
|
@ -32,6 +32,7 @@ interface IIconWidget extends IWidget {
|
|||
* Get the absolute url for the widget icon
|
||||
*
|
||||
* @return string
|
||||
* @since 25.0.0
|
||||
*/
|
||||
public function getIconUrl(): string;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ use OCP\Dashboard\Model\WidgetOptions;
|
|||
interface IOptionWidget extends IWidget {
|
||||
/**
|
||||
* Get additional options for the widget
|
||||
* @since 25.0.0
|
||||
*/
|
||||
public function getWidgetOptions(): WidgetOptions;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,12 @@ class WidgetButton {
|
|||
private string $link;
|
||||
private string $text;
|
||||
|
||||
/**
|
||||
* @param string $type
|
||||
* @param string $link
|
||||
* @param string $text
|
||||
* @since 25.0.0
|
||||
*/
|
||||
public function __construct(string $type, string $link, string $text) {
|
||||
$this->type = $type;
|
||||
$this->link = $link;
|
||||
|
|
Loading…
Reference in New Issue