Lggr
|
Public Member Functions | |
find (Example $example) | |
setSourceDirectory (string $directory='') | |
getSourceDirectory () | |
setExampleDirectories (array $directories) | |
getExampleDirectories () | |
Class used to find an example file's location based on a given ExampleDescriptor.
phpDocumentor\Reflection\DocBlock\ExampleFinder::find | ( | Example | $example | ) |
Attempts to find the example contents for the given descriptor.
phpDocumentor\Reflection\DocBlock\ExampleFinder::getExampleDirectories | ( | ) |
Returns a series of directories that may contain examples.
phpDocumentor\Reflection\DocBlock\ExampleFinder::getSourceDirectory | ( | ) |
Returns the project's root directory where an 'examples' folder can be expected.
phpDocumentor\Reflection\DocBlock\ExampleFinder::setExampleDirectories | ( | array | $directories | ) |
Registers a series of directories that may contain examples.
string[] | $directories |
phpDocumentor\Reflection\DocBlock\ExampleFinder::setSourceDirectory | ( | string | $directory = '' | ) |
Registers the project's root directory where an 'examples' folder can be expected.