Added vendor/ directory for Composer's installed files
This commit is contained in:
45
vendor/illuminate/contracts/Bus/Dispatcher.php
vendored
Executable file
45
vendor/illuminate/contracts/Bus/Dispatcher.php
vendored
Executable file
@ -0,0 +1,45 @@
|
||||
<?php namespace Illuminate\Contracts\Bus;
|
||||
|
||||
use Closure;
|
||||
use ArrayAccess;
|
||||
|
||||
interface Dispatcher {
|
||||
|
||||
/**
|
||||
* Marshal a command and dispatch it to its appropriate handler.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @param array $array
|
||||
* @return mixed
|
||||
*/
|
||||
public function dispatchFromArray($command, array $array);
|
||||
|
||||
/**
|
||||
* Marshal a command and dispatch it to its appropriate handler.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @param \ArrayAccess $source
|
||||
* @param array $extras
|
||||
* @return mixed
|
||||
*/
|
||||
public function dispatchFrom($command, ArrayAccess $source, array $extras = []);
|
||||
|
||||
/**
|
||||
* Dispatch a command to its appropriate handler.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @param \Closure|null $afterResolving
|
||||
* @return mixed
|
||||
*/
|
||||
public function dispatch($command, Closure $afterResolving = null);
|
||||
|
||||
/**
|
||||
* Dispatch a command to its appropriate handler in the current process.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @param \Closure|null $afterResolving
|
||||
* @return mixed
|
||||
*/
|
||||
public function dispatchNow($command, Closure $afterResolving = null);
|
||||
|
||||
}
|
47
vendor/illuminate/contracts/Bus/HandlerResolver.php
vendored
Executable file
47
vendor/illuminate/contracts/Bus/HandlerResolver.php
vendored
Executable file
@ -0,0 +1,47 @@
|
||||
<?php namespace Illuminate\Contracts\Bus;
|
||||
|
||||
use Closure;
|
||||
|
||||
interface HandlerResolver {
|
||||
|
||||
/**
|
||||
* Get the handler instance for the given command.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @return mixed
|
||||
*/
|
||||
public function resolveHandler($command);
|
||||
|
||||
/**
|
||||
* Get the handler class for the given command.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @return string
|
||||
*/
|
||||
public function getHandlerClass($command);
|
||||
|
||||
/**
|
||||
* Get the handler method for the given command.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @return string
|
||||
*/
|
||||
public function getHandlerMethod($command);
|
||||
|
||||
/**
|
||||
* Register command to handler mappings.
|
||||
*
|
||||
* @param array $commands
|
||||
* @return void
|
||||
*/
|
||||
public function maps(array $commands);
|
||||
|
||||
/**
|
||||
* Register a fallback mapper callback.
|
||||
*
|
||||
* @param \Closure $mapper
|
||||
* @return void
|
||||
*/
|
||||
public function mapUsing(Closure $mapper);
|
||||
|
||||
}
|
13
vendor/illuminate/contracts/Bus/QueueingDispatcher.php
vendored
Executable file
13
vendor/illuminate/contracts/Bus/QueueingDispatcher.php
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
<?php namespace Illuminate\Contracts\Bus;
|
||||
|
||||
interface QueueingDispatcher extends Dispatcher {
|
||||
|
||||
/**
|
||||
* Dispatch a command to its appropriate handler behind a queue.
|
||||
*
|
||||
* @param mixed $command
|
||||
* @return mixed
|
||||
*/
|
||||
public function dispatchToQueue($command);
|
||||
|
||||
}
|
3
vendor/illuminate/contracts/Bus/SelfHandling.php
vendored
Executable file
3
vendor/illuminate/contracts/Bus/SelfHandling.php
vendored
Executable file
@ -0,0 +1,3 @@
|
||||
<?php namespace Illuminate\Contracts\Bus;
|
||||
|
||||
interface SelfHandling {}
|
Reference in New Issue
Block a user