CountableFailedJobProvider.php
TLDR
This file contains an interface CountableFailedJobProvider
that defines a method count()
for counting failed jobs.
Methods
count($connection = null, $queue = null)
This method counts the number of failed jobs.
- Parameters:
-
$connection
(optional): The connection name. -
$queue
(optional): The queue name.
-
- Returns: The total number of failed jobs.
<?php
namespace Illuminate\Queue\Failed;
interface CountableFailedJobProvider
{
/**
* Count the failed jobs.
*
* @param string|null $connection
* @param string|null $queue
* @return int
*/
public function count($connection = null, $queue = null);
}