comparison vendor/consolidation/site-process/src/Transport/LocalTransport.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
1 <?php
2
3 namespace Consolidation\SiteProcess\Transport;
4
5 use Consolidation\SiteProcess\SiteProcess;
6
7 /**
8 * LocalTransport just runs the command on the local system.
9 */
10 class LocalTransport implements TransportInterface
11 {
12 /**
13 * @inheritdoc
14 */
15 public function configure(SiteProcess $process)
16 {
17 $process->setWorkingDirectoryLocal($process->getWorkingDirectory());
18 }
19
20 /**
21 * @inheritdoc
22 */
23 public function wrap($args)
24 {
25 return $args;
26 }
27
28 /**
29 * @inheritdoc
30 */
31 public function addChdir($cd, $args)
32 {
33 return $args;
34 }
35 }