Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

434 B
Raw Blame
<?php

namespace App\Contracts;

use Illuminate\Support\Collection;
use Laravel\Horizon\Contracts\JobRepository;

interface CustomJobRepositoryInterface extends JobRepository
{
    /**
     * Get all jobs with a specific status.
     */
    public function getJobsByStatus(string $status): Collection;

    /**
     * Get the count of jobs with a specific status.
     */
    public function countJobsByStatus(string $status): int;
}