protected function parseSubPath($path) { return $path ? DIRECTORY_SEPARATOR . trim($path, DIRECTORY_SEPARATOR) : ''; }