Method |
Description |
|
allExamples ( $class ) : array |
Retrieve all examples from a class and its methods. |
|
classExample ( string $class, integer | string $index ) : Snippet |
Get a snippet from a class. |
|
createIdentifier ( $fqn, $indexOrName ) |
|
|
examples ( DocBlock $docBlock, $fullyQualifiedName, string $file, integer $line, array $magicMethods = [] ) : array |
Parse examples from a DocBlock object. |
|
examplesFromClass ( object | ReflectionClas\ReflectionClass $class ) : array |
Retrieve all examples from a class Doc Block. |
|
examplesFromMethod ( object $class, string | ReflectionMetho\ReflectionMethod $method ) : array |
Retrieve all examples from a method's Doc Block. |
|
methodExample ( string $class, string $method, integer $index ) : Snippet |
Get a snippet from a method. |
|