Skip to content

ProjectCapabilitiesResolver

github-actions[bot] edited this page May 1, 2026 · 1 revision

Resolves which repository surfaces are available to documentation, testing, and wiki tooling.


Methods

__construct

Creates a capability resolver backed by Composer autoload metadata and filesystem checks.

public __construct(\FastForward\DevTools\Composer\Json\ComposerJsonInterface $composer, \FastForward\DevTools\Filesystem\FilesystemInterface $filesystem): mixed

Parameters:

Parameter Type Description
$composer \FastForward\DevTools\Composer\Json\ComposerJsonInterface the composer.json accessor for autoload metadata
$filesystem \FastForward\DevTools\Filesystem\FilesystemInterface the filesystem used to resolve project-relative paths

resolve

Resolves which documentation, testing, and wiki surfaces are available for the current repository.

public resolve(string $testsPath = \FastForward\DevTools\Project\ProjectCapabilitiesResolverInterface::DEFAULT_TESTS_PATH, string $guideDirectory = \FastForward\DevTools\Project\ProjectCapabilitiesResolverInterface::DEFAULT_GUIDE_DIRECTORY, string $wikiTarget = \FastForward\DevTools\Project\ProjectCapabilitiesResolverInterface::DEFAULT_WIKI_TARGET): \FastForward\DevTools\Project\ProjectCapabilities

Parameters:

Parameter Type Description
$testsPath string the project-relative tests directory to inspect
$guideDirectory string the project-relative guide directory to inspect
$wikiTarget string the project-relative wiki output target to inspect

Clone this wiki locally