v.0.1
This commit is contained in:
27
vendor/illuminate/contracts/Queue/QueueableEntity.php
vendored
Normal file
27
vendor/illuminate/contracts/Queue/QueueableEntity.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?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();
|
||||
}
|
Reference in New Issue
Block a user