public function mkdir($path) { $path = $this->buildPath($path); try { $this->share->mkdir($path); return true; } catch (Exception $e) { return false; } }
public function mkdir($path) { $path = $this->buildPath($path); try { $this->share->mkdir($path); return true; } catch (ConnectException $e) { throw new StorageNotAvailableException($e->getMessage(), $e->getCode(), $e); } catch (Exception $e) { return false; } }