From: Vincent Vanwaelscappel Date: Thu, 26 Jan 2023 14:47:40 +0000 (+0100) Subject: wip #5700 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9432da3e6ad49becf36fa5a8d213312d7357d434;p=cubist_net.git wip #5700 --- 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 */