diff --git a/src/Illuminate/Support/Testing/Fakes/QueueFake.php b/src/Illuminate/Support/Testing/Fakes/QueueFake.php index be261e8649f3..14144c0de136 100644 --- a/src/Illuminate/Support/Testing/Fakes/QueueFake.php +++ b/src/Illuminate/Support/Testing/Fakes/QueueFake.php @@ -327,6 +327,16 @@ public function bulk($jobs, $data = '', $queue = null) } } + /** + * Get the jobs that have been pushed. + * + * @return array + */ + public function pushedJobs() + { + return $this->jobs; + } + /** * Get the connection name for the queue. * @@ -347,14 +357,4 @@ public function setConnectionName($name) { return $this; } - - /** - * Get the jobs which have been pushed. - * - * @return array - */ - public function getJobs() - { - return $this->jobs; - } }