/** * Get an instance from cache by queue name * * @param string $queueName * @return QueueStatus */ public static function get($queueName) { return Cache::get(QueueMonitor::getCheckCacheKey($queueName)); }
/** * Execute the console command. * * @return mixed */ public function fire() { QueueMonitor::queueQueueCheck($this->argument('queue')); }