From c16d2f036005c0afd1ef457e9c7d296395710194 Mon Sep 17 00:00:00 2001 From: Tibor Kotosz Date: Sat, 22 Dec 2018 10:24:14 +0100 Subject: [PATCH] Allow to get working directory outside of test runner context --- src/TestRunnerContext.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/TestRunnerContext.php b/src/TestRunnerContext.php index 5ce52ca..1fcb376 100644 --- a/src/TestRunnerContext.php +++ b/src/TestRunnerContext.php @@ -127,6 +127,14 @@ public function createWorkingDirectory() $this->documentRoot = $this->workingDirectory .'/document_root'; $this->filesystem->mkdir($this->documentRoot, 0770); } + + /** + * @return string + */ + public function getWorkingDirectory() + { + return $this->workingDirectory; + } /** * @return void