src/PdoDataSource.php
public function setUnixSocket($unixSocket = null) {
		$this->unixSocket = $unixSocket !== null ? (string) $unixSocket : null;

		return $this;
	}
public function setUnixSocket($unixSocket = null) {
		$this->unixSocket = $unixSocket !== null ? (string) $unixSocket : null;

		return $this;
	}
Sets the unix socket

@param string|null $unixSocket the UNIX socket to use, e.g. `/tmp/db.sock`
@return static this instance for chaining