Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Pipeline;
4
 
5
use Closure;
6
 
7
interface Pipeline
8
{
9
    /**
10
     * Set the traveler object being sent on the pipeline.
11
     *
12
     * @param  mixed  $traveler
13
     * @return $this
14
     */
15
    public function send($traveler);
16
 
17
    /**
18
     * Set the stops of the pipeline.
19
     *
20
     * @param  dynamic|array  $stops
21
     * @return $this
22
     */
23
    public function through($stops);
24
 
25
    /**
26
     * Set the method to call on the stops.
27
     *
28
     * @param  string  $method
29
     * @return $this
30
     */
31
    public function via($method);
32
 
33
    /**
34
     * Run the pipeline with a final destination callback.
35
     *
36
     * @param  \Closure  $destination
37
     * @return mixed
38
     */
39
    public function then(Closure $destination);
40
}