function ExampleFinder::getSourceDirectory
Returns the project's root directory where an 'examples' folder can be expected.
1 call to ExampleFinder::getSourceDirectory()
- ExampleFinder::getExamplePathFromSource in vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlock/ ExampleFinder.php - Get example filepath based on sourcecode.
File
-
vendor/
phpdocumentor/ reflection-docblock/ src/ DocBlock/ ExampleFinder.php, line 65
Class
- ExampleFinder
- Class used to find an example file's location based on a given ExampleDescriptor.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function getSourceDirectory() : string {
return $this->sourceDirectory;
}