We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9273d07 commit b39c388Copy full SHA for b39c388
Client/CommandSubscriberInterface.php
@@ -2,6 +2,15 @@
2
3
namespace Enqueue\Client;
4
5
+/**
6
+ * @phpstan-type CommandConfig = array{
7
+ * command: string,
8
+ * processor?: string,
9
+ * queue?: string,
10
+ * prefix_queue?: bool,
11
+ * exclusive?: bool,
12
+ * }
13
+ */
14
interface CommandSubscriberInterface
15
{
16
/**
@@ -44,6 +53,8 @@ interface CommandSubscriberInterface
44
53
* Note: If you set "prefix_queue" to true then the "queue" is used as is and therefor the driver is not used to create a transport queue name.
45
54
*
46
55
* @return string|array
56
+ *
57
+ * @phpstan-return string|CommandConfig|array<CommandConfig>
47
58
*/
48
59
public static function getSubscribedCommand();
49
60
}
0 commit comments