public function mkdir(string $path = ""): File {
		if (!empty($path)) {
			$dir = new File(Paths::appendPath($this->getUrl(), $path));
			$dir->mkdir();

			return $dir;
		} else {
			if (!$this->isDirectory() && !$this->isFile()) {
				$this->manager->createDir($this->getUrl());
			}

			return $this;
		}
	}
public function mkdir(string $path = ""): File {
		if (!empty($path)) {
			$dir = new File(Paths::appendPath($this->getUrl(), $path));
			$dir->mkdir();

			return $dir;
		} else {
			if (!$this->isDirectory() && !$this->isFile()) {
				$this->manager->createDir($this->getUrl());
			}

			return $this;
		}
	}
public function mkdir ( string $ path = "" ) : File { if ( ! empty ( $ path ) ) { $ dir = new File ( Paths :: appendPath ( $ this -> getUrl ( ) , $ path ) ) ; $ dir -> mkdir ( ) ; return $ dir ; } else { if ( ! $ this -> isDirectory ( ) && ! $ this -> isFile ( ) ) { $ this -> manager -> createDir ( $ this -> getUrl ( ) ) ; } return $ this ; } }
create current or given path

@param string $path path which should be create

@return File
create current or given path