Skip to content

Commit 802048d

Browse files
committed
added docblocks to command controller for help command
1 parent 26a5ff2 commit 802048d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Classes/Command/BackupCommandController.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public function createCommand(): void
3131

3232
/**
3333
* restores a single backup of a specific package
34+
*
35+
* @param string $name The name of the backup you want to restore
36+
* @param bool $noConfirm If true, you dant have to confirm the restore action
3437
*/
3538
public function restoreCommand(string $name, bool $noConfirm = false): void
3639
{
@@ -73,6 +76,9 @@ public function restoreCommand(string $name, bool $noConfirm = false): void
7376

7477
/**
7578
* lists all backups
79+
*
80+
* @param int $offset Offset
81+
* @param int $limit Number of backups shown
7682
*/
7783
public function listCommand($offset = 0, $limit = 60): void
7884
{
@@ -89,6 +95,9 @@ public function listCommand($offset = 0, $limit = 60): void
8995

9096
/**
9197
* deletes backups
98+
*
99+
* @param string $name The name of the backup you want to delete
100+
* @param bool $noConfirm If true, you dant have to confirm the delete action
92101
*/
93102
public function deleteCommand(string $name, bool $noConfirm = false): void
94103
{

0 commit comments

Comments
 (0)