17 lines
318 B
PHP
17 lines
318 B
PHP
<?php
|
|
|
|
namespace Illuminate\Bus;
|
|
|
|
use DateTimeInterface;
|
|
|
|
interface PrunableBatchRepository extends BatchRepository
|
|
{
|
|
/**
|
|
* Prune all of the entries older than the given date.
|
|
*
|
|
* @param \DateTimeInterface $before
|
|
* @return int
|
|
*/
|
|
public function prune(DateTimeInterface $before);
|
|
}
|