public function setBinPath($path) { if (realpath($path) === false) { throw new Exception('Path must be absolute ("' . htmlspecialchars($path, ENT_QUOTES) . '")'); } $this->_binpath = realpath((string) $path) . DIRECTORY_SEPARATOR; return; }