dispatchFrom() public method

Marshal a command and dispatch it to its appropriate handler.
public dispatchFrom ( mixed $command, ArrayAccess $source, array $extras = [] ) : mixed
$command mixed
$source ArrayAccess
$extras array
return mixed
Esempio n. 1
0
 /**
  * Marshal a command and dispatch it to its appropriate handler.
  *
  * @param mixed $command
  * @param \ArrayAccess $source
  * @param array $extras
  * @return mixed 
  * @static 
  */
 public static function dispatchFrom($command, $source, $extras = array())
 {
     return \Illuminate\Bus\Dispatcher::dispatchFrom($command, $source, $extras);
 }