2021-08-27 06:46:27 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Illuminate\Contracts\Queue;
|
|
|
|
|
|
|
|
interface QueueableCollection
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Get the type of the entities being queued.
|
|
|
|
*
|
|
|
|
* @return string|null
|
|
|
|
*/
|
|
|
|
public function getQueueableClass();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the identifiers for all of the entities.
|
|
|
|
*
|
2022-03-14 16:22:30 -04:00
|
|
|
* @return array<int, mixed>
|
2021-08-27 06:46:27 -04:00
|
|
|
*/
|
|
|
|
public function getQueueableIds();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the relationships of the entities being queued.
|
|
|
|
*
|
2022-03-14 16:22:30 -04:00
|
|
|
* @return array<int, string>
|
2021-08-27 06:46:27 -04:00
|
|
|
*/
|
|
|
|
public function getQueueableRelations();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the connection of the entities being queued.
|
|
|
|
*
|
|
|
|
* @return string|null
|
|
|
|
*/
|
|
|
|
public function getQueueableConnection();
|
|
|
|
}
|