Added vendor/ directory for Composer's installed files
This commit is contained in:
21
vendor/illuminate/contracts/Queue/EntityNotFoundException.php
vendored
Executable file
21
vendor/illuminate/contracts/Queue/EntityNotFoundException.php
vendored
Executable file
@ -0,0 +1,21 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
||||
class EntityNotFoundException extends InvalidArgumentException {
|
||||
|
||||
/**
|
||||
* Create a new exception instance.
|
||||
*
|
||||
* @param string $type
|
||||
* @param mixed $id
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($type, $id)
|
||||
{
|
||||
$id = (string) $id;
|
||||
|
||||
parent::__construct("Queueable entity [{$type}] not found for ID [{$id}].");
|
||||
}
|
||||
|
||||
}
|
14
vendor/illuminate/contracts/Queue/EntityResolver.php
vendored
Executable file
14
vendor/illuminate/contracts/Queue/EntityResolver.php
vendored
Executable file
@ -0,0 +1,14 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface EntityResolver {
|
||||
|
||||
/**
|
||||
* Resolve the entity for the given ID.
|
||||
*
|
||||
* @param string $type
|
||||
* @param mixed $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function resolve($type, $id);
|
||||
|
||||
}
|
13
vendor/illuminate/contracts/Queue/Factory.php
vendored
Executable file
13
vendor/illuminate/contracts/Queue/Factory.php
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface Factory {
|
||||
|
||||
/**
|
||||
* Resolve a queue connection instance.
|
||||
*
|
||||
* @param string $name
|
||||
* @return \Illuminate\Contracts\Queue\Queue
|
||||
*/
|
||||
public function connection($name = null);
|
||||
|
||||
}
|
48
vendor/illuminate/contracts/Queue/Job.php
vendored
Executable file
48
vendor/illuminate/contracts/Queue/Job.php
vendored
Executable file
@ -0,0 +1,48 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface Job {
|
||||
|
||||
/**
|
||||
* Fire the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fire();
|
||||
|
||||
/**
|
||||
* Delete the job from the queue.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function delete();
|
||||
|
||||
/**
|
||||
* Release the job back into the queue.
|
||||
*
|
||||
* @param int $delay
|
||||
* @return void
|
||||
*/
|
||||
public function release($delay = 0);
|
||||
|
||||
/**
|
||||
* Get the number of times the job has been attempted.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function attempts();
|
||||
|
||||
/**
|
||||
* Get the name of the queued job class.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getName();
|
||||
|
||||
/**
|
||||
* Get the name of the queue the job belongs to.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getQueue();
|
||||
|
||||
}
|
29
vendor/illuminate/contracts/Queue/Monitor.php
vendored
Executable file
29
vendor/illuminate/contracts/Queue/Monitor.php
vendored
Executable file
@ -0,0 +1,29 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface Monitor {
|
||||
|
||||
/**
|
||||
* Register a callback to be executed on every iteration through the queue loop.
|
||||
*
|
||||
* @param mixed $callback
|
||||
* @return void
|
||||
*/
|
||||
public function looping($callback);
|
||||
|
||||
/**
|
||||
* Register a callback to be executed when a job fails after the maximum amount of retries.
|
||||
*
|
||||
* @param mixed $callback
|
||||
* @return void
|
||||
*/
|
||||
public function failing($callback);
|
||||
|
||||
/**
|
||||
* Register a callback to be executed when a daemon queue is stopping.
|
||||
*
|
||||
* @param mixed $callback
|
||||
* @return void
|
||||
*/
|
||||
public function stopping($callback);
|
||||
|
||||
}
|
65
vendor/illuminate/contracts/Queue/Queue.php
vendored
Executable file
65
vendor/illuminate/contracts/Queue/Queue.php
vendored
Executable file
@ -0,0 +1,65 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface Queue {
|
||||
|
||||
/**
|
||||
* Push a new job onto the queue.
|
||||
*
|
||||
* @param string $job
|
||||
* @param mixed $data
|
||||
* @param string $queue
|
||||
* @return mixed
|
||||
*/
|
||||
public function push($job, $data = '', $queue = null);
|
||||
|
||||
/**
|
||||
* Push a raw payload onto the queue.
|
||||
*
|
||||
* @param string $payload
|
||||
* @param string $queue
|
||||
* @param array $options
|
||||
* @return mixed
|
||||
*/
|
||||
public function pushRaw($payload, $queue = null, array $options = array());
|
||||
|
||||
/**
|
||||
* Push a new job onto the queue after a delay.
|
||||
*
|
||||
* @param \DateTime|int $delay
|
||||
* @param string $job
|
||||
* @param mixed $data
|
||||
* @param string $queue
|
||||
* @return mixed
|
||||
*/
|
||||
public function later($delay, $job, $data = '', $queue = null);
|
||||
|
||||
/**
|
||||
* Push a new job onto the queue.
|
||||
*
|
||||
* @param string $queue
|
||||
* @param string $job
|
||||
* @param mixed $data
|
||||
* @return mixed
|
||||
*/
|
||||
public function pushOn($queue, $job, $data = '');
|
||||
|
||||
/**
|
||||
* Push a new job onto the queue after a delay.
|
||||
*
|
||||
* @param string $queue
|
||||
* @param \DateTime|int $delay
|
||||
* @param string $job
|
||||
* @param mixed $data
|
||||
* @return mixed
|
||||
*/
|
||||
public function laterOn($queue, $delay, $job, $data = '');
|
||||
|
||||
/**
|
||||
* Pop the next job off of the queue.
|
||||
*
|
||||
* @param string $queue
|
||||
* @return \Illuminate\Contracts\Queue\Job|null
|
||||
*/
|
||||
public function pop($queue = null);
|
||||
|
||||
}
|
12
vendor/illuminate/contracts/Queue/QueueableEntity.php
vendored
Executable file
12
vendor/illuminate/contracts/Queue/QueueableEntity.php
vendored
Executable file
@ -0,0 +1,12 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface QueueableEntity {
|
||||
|
||||
/**
|
||||
* Get the queueable identity for the entity.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getQueueableId();
|
||||
|
||||
}
|
3
vendor/illuminate/contracts/Queue/ShouldBeQueued.php
vendored
Executable file
3
vendor/illuminate/contracts/Queue/ShouldBeQueued.php
vendored
Executable file
@ -0,0 +1,3 @@
|
||||
<?php namespace Illuminate\Contracts\Queue;
|
||||
|
||||
interface ShouldBeQueued {}
|
Reference in New Issue
Block a user