Function ClassLoader->findFile

Definitions

sources/isocodes/vendor/composer/ClassLoader.php

  • Finds the path to the file where the class is defined.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$class string No No required parameter N/A N/A The name of the class

Returns

  • The path if found, false otherwise
  • Type: string|false
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Finds the path to the file where the class is defined.
 *
 * @param  string $class The name of the class
 * @return string|false The path if found, false otherwise
 */

public function findFile($class)