Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 9... Zeile 9...
9
trait Dispatchable
9
trait Dispatchable
10
{
10
{
11
    /**
11
    /**
12
     * Dispatch the job with the given arguments.
12
     * Dispatch the job with the given arguments.
13
     *
13
     *
-
 
14
     * @param  mixed  ...$arguments
14
     * @return \Illuminate\Foundation\Bus\PendingDispatch
15
     * @return \Illuminate\Foundation\Bus\PendingDispatch
15
     */
16
     */
16
    public static function dispatch(...$arguments)
17
    public static function dispatch(...$arguments)
17
    {
18
    {
18
        return new PendingDispatch(new static(...$arguments));
19
        return new PendingDispatch(new static(...$arguments));
Zeile 65... Zeile 66...
65
    /**
66
    /**
66
     * Dispatch a command to its appropriate handler in the current process.
67
     * Dispatch a command to its appropriate handler in the current process.
67
     *
68
     *
68
     * Queueable jobs will be dispatched to the "sync" queue.
69
     * Queueable jobs will be dispatched to the "sync" queue.
69
     *
70
     *
-
 
71
     * @param  mixed  ...$arguments
70
     * @return mixed
72
     * @return mixed
71
     */
73
     */
72
    public static function dispatchSync(...$arguments)
74
    public static function dispatchSync(...$arguments)
73
    {
75
    {
74
        return app(Dispatcher::class)->dispatchSync(new static(...$arguments));
76
        return app(Dispatcher::class)->dispatchSync(new static(...$arguments));
Zeile 87... Zeile 89...
87
    }
89
    }
Zeile 88... Zeile 90...
88
 
90
 
89
    /**
91
    /**
90
     * Dispatch a command to its appropriate handler after the current process.
92
     * Dispatch a command to its appropriate handler after the current process.
-
 
93
     *
91
     *
94
     * @param  mixed  ...$arguments
92
     * @return mixed
95
     * @return mixed
93
     */
96
     */
94
    public static function dispatchAfterResponse(...$arguments)
97
    public static function dispatchAfterResponse(...$arguments)
95
    {
98
    {