From e31cfb4dc24e934dfc25b196c96a7bfdbf27d5fe Mon Sep 17 00:00:00 2001 From: markhuot Date: Thu, 13 Jun 2024 14:03:08 -0400 Subject: [PATCH] add queue helper --- composer.json | 1 + src/helpers/Queue.php | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/helpers/Queue.php diff --git a/composer.json b/composer.json index 54d8307..8352e05 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "src/helpers/Craft.php", "src/helpers/Http.php", "src/helpers/Model.php", + "src/helpers/Queue.php", "src/helpers/Test.php" ] }, diff --git a/src/helpers/Queue.php b/src/helpers/Queue.php new file mode 100644 index 0000000..8452b59 --- /dev/null +++ b/src/helpers/Queue.php @@ -0,0 +1,15 @@ +queue->run(); + + return $result; + } +}