WorkingProjectPathResolver

Class
Final: Yes

Provides canonical repository-root paths that are not part of the managed workspace.

Table of Contents

Methods

getProjectPath()

Returns the current working project directory or a path under it.

 : string
getToolingExcludedDirectories()

Returns the project directories that static-analysis and coding-style tooling SHOULD skip.

 : array<int, string>
Methods

getProjectPath()

Public Static

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

getToolingExcludedDirectories()

Public Static

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>