Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoLogImporter/LogImporter/Result.php')
-rw-r--r--plugins/AutoLogImporter/LogImporter/Result.php51
1 files changed, 51 insertions, 0 deletions
diff --git a/plugins/AutoLogImporter/LogImporter/Result.php b/plugins/AutoLogImporter/LogImporter/Result.php
new file mode 100644
index 0000000000..18333e92b9
--- /dev/null
+++ b/plugins/AutoLogImporter/LogImporter/Result.php
@@ -0,0 +1,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\AutoLogImporter\LogImporter;
+
+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;
+ }
+}