From 9432da3e6ad49becf36fa5a8d213312d7357d434 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 26 Jan 2023 15:47:40 +0100 Subject: [PATCH] wip #5700 --- src/Transfer/Local.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Transfer/Local.php b/src/Transfer/Local.php index bd47593..3bab3cf 100644 --- a/src/Transfer/Local.php +++ b/src/Transfer/Local.php @@ -5,6 +5,13 @@ namespace Cubist\Net\Transfer; class Local extends Driver { protected $_basePath = ''; + public function __construct(IServer $server, $basePath = null) { + parent::__construct($server); + if (null !== $basePath) { + $this->setBasePath($basePath); + } + } + /** * @param string $basePath */ -- 2.39.5