1 | <?php |
||
8 | class VerifyDeployRequest |
||
9 | { |
||
10 | protected $origins = []; |
||
11 | |||
12 | 22 | public function __construct(Request $request) |
|
19 | |||
20 | /** |
||
21 | * Handles the HTTP request. |
||
22 | * |
||
23 | * @param Illuminate\Http\Request $request The request |
||
24 | * @param Closure $next Mechanism for passing the result down the pipeline to the next piece of middleware |
||
25 | * |
||
26 | * @return Illuminate\Http\Response A Response object that is passed to the next piece of middleware |
||
27 | */ |
||
28 | 22 | public function handle($request, Closure $next) |
|
52 | |||
53 | /** |
||
54 | * Determine the origin of a deploy request. |
||
55 | * |
||
56 | * @return \Morphatic\AutoDeploy\Origins\OriginInterface An object corresponding to the origin type or null. |
||
57 | */ |
||
58 | 18 | private function determineOrigin() |
|
66 | } |
||
67 |