$sourceDirectory
$sourceDirectory : string
Class used to find an example file's location based on a given ExampleDescriptor.
find(\phpDocumentor\Descriptor\Tag\ExampleDescriptor $descriptor) : string
Attempts to find the example contents for the given descriptor.
\phpDocumentor\Descriptor\Tag\ExampleDescriptor | $descriptor |
getExampleFileContents(string $filename) : string|null
Attempts to find the requested example file and returns its contents or null if no file was found.
This method will try several methods in search of the given example file, the first one it encounters is returned:
string | $filename |