Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Pipeline/Pipeline.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Pipeline;
4
5 use Closure;
6
7 interface Pipeline
8 {
9 /**
10 * Set the object being sent through the pipeline.
11 *
12 * @param mixed $passable
13 * @return $this
14 */
15 public function send($passable);
16
17 /**
18 * Set the array of pipes.
19 *
20 * @param mixed $pipes
21 * @return $this
22 */
23 public function through($pipes);
24
25 /**
26 * Set the method to call on the pipes.
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 }