blob: 1b01621063eb6daf7ba50cd093bcab773322a404 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<?php
/**
* Copyright (C) Piwik PRO - All rights reserved.
*
* Using this code requires that you first get a license from Piwik PRO.
* Unauthorized copying of this file, via any medium is strictly prohibited.
*
* @link http://piwik.pro
*/
namespace Piwik\Plugins\FileSynchronizer\SyncFiles;
use Piwik\Db;
class Result
{
private $command;
private $output;
private $exitCode;
public function __construct($command, $output, $exitCode)
{
$this->command = $command;
$this->output = $output;
$this->exitCode = $exitCode;
}
/**
* @return string
*/
public function getCommand()
{
return $this->command;
}
/**
* @return string
*/
public function getOutput()
{
return $this->output;
}
/**
* @return string
*/
public function getExitCode()
{
return $this->exitCode;
}
}
|