MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getPhpWebRoot

Method getPhpWebRoot

src/resolution/types.ts:265–265  ·  view source on GitHub ↗

* The folder `$_SERVER['DOCUMENT_ROOT']` names for a PHP include in * `fromFile` (#3298): the project's `codegraph.json` `webRoot`, else the one * the project's own includes agree on (see php-web-root.ts), else null. * Project-relative, `/`-separated, '' for the project root.

(fromFile: string)

Source from the content-addressed store, hash-verified

263 * Project-relative, `/`-separated, '' for the project root.
264 */
265 getPhpWebRoot?(fromFile: string): string | null;
266 /**
267 * The project-relative directory (`/`-separated, `.` for the root) of
268 * the Go package an import path names, when it is a package of one of the

Callers 1

resolvePhpIncludePathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected