Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExampleFinder.php

function ExampleFinder::setSourceDirectory

Registers the project's root directory where an 'examples' folder can be expected.

File

vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php, line 57

Class

ExampleFinder
Class used to find an example file's location based on a given ExampleDescriptor.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function setSourceDirectory(string $directory = '') : void {
    $this->sourceDirectory = $directory;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal