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 bc1ab13 commit ad37382Copy full SHA for ad37382
src/Schema/Blueprint.php
@@ -69,6 +69,19 @@ protected function addReplyListEntryCommands(Connection $connection)
69
}
70
71
72
+ /**
73
+ * Get all of the commands matching the given names.
74
+ *
75
+ * @param array $names
76
+ * @return \Illuminate\Support\Collection
77
+ */
78
+ protected function commandsNamed(array $names)
79
+ {
80
+ return collect($this->commands)->filter(function ($command) use ($names) {
81
+ return in_array($command->name, $names);
82
+ });
83
+ }
84
+
85
/**
86
* Specify a system name for the table.
87
*
0 commit comments