Source of file FailedJobProviderInterface.php
Size: 0,872 Bytes - Last Modified: 2021-12-23T10:38:27+00:00
/var/www/docs.ssmods.com/process/src/src/Failed/FailedJobProviderInterface.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | <?php namespace StudioBonito\SilverStripe\Queue\Failed; interface FailedJobProviderInterface { /** * Log a failed job into storage. * * @param string $connection * @param string $queue * @param string $payload * * @return void */ public function log($connection, $queue, $payload); /** * Get a list of all of the failed jobs. * * @return array */ public function all(); /** * Get a single failed job. * * @param mixed $id * * @return array */ public function find($id); /** * Delete a single failed job from storage. * * @param mixed $id * * @return bool */ public function forget($id); /** * Flush all of the failed jobs from storage. * * @return void */ public function flush(); } |