You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
481 B
PHP
28 lines
481 B
PHP
<?php
|
|
|
|
namespace Illuminate\Contracts\Queue;
|
|
|
|
interface QueueableEntity
|
|
{
|
|
/**
|
|
* Get the queueable identity for the entity.
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function getQueueableId();
|
|
|
|
/**
|
|
* Get the relationships for the entity.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getQueueableRelations();
|
|
|
|
/**
|
|
* Get the connection of the entity.
|
|
*
|
|
* @return string|null
|
|
*/
|
|
public function getQueueableConnection();
|
|
}
|