HighSpeaker/vendor/illuminate/contracts/Queue/QueueableEntity.php

28 lines
481 B
PHP
Raw Normal View History

2022-12-24 22:10:40 +08:00
<?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();
}