+ if ( $filterType != '' && $type != $filterType ) {
+ continue;
+ }
+ $queue = $group->get( $type );
+ foreach ( $queue->getAllQueuedJobs() as $job ) {
+ $this->output( $job->toString() . " status=unclaimed\n" );
+ }
+ foreach ( $queue->getAllDelayedJobs() as $job ) {
+ $this->output( $job->toString() . " status=delayed\n" );
+ }
+ }
+ } elseif ( $this->hasOption( 'group' ) ) {
+ foreach ( $group->getQueueTypes() as $type ) {
+ if ( $filterType != '' && $type != $filterType ) {
+ continue;
+ }