WorkingProjectPathResolver
Class
Final:
Yes
Provides canonical repository-root paths that are not part of the managed workspace.
Methods
getProjectPath()
: string
Returns the current working project directory or a path under it.
getToolingExcludedDirectories()
: array<int, string>
Returns the project directories that static-analysis and coding-style tooling SHOULD skip.
Returns the current working project directory or a path under it.
public
static
getProjectPath([
string
$path = '']) : string
Parameters
$path
:
string
=
''
Description
the optional relative segment to append under the project directory
Return values
string
Returns the project directories that static-analysis and coding-style tooling SHOULD skip.
public
static
getToolingExcludedDirectories([
string
$baseDir = '']) : array<int, string>
Parameters
$baseDir
:
string
=
''
Description
the optional repository base directory used to materialize absolute paths
Return values
array<int, string>