You are here

class xautoload_FinderPlugin_CheckIncludePath in X Autoload 7.5

Same name and namespace in other branches
  1. 7.3 lib/FinderPlugin/CheckIncludePath.php \xautoload_FinderPlugin_CheckIncludePath
  2. 7.4 legacy/lib/FinderPlugin/CheckIncludePath.php \xautoload_FinderPlugin_CheckIncludePath

This class is not used anywhere in xautoload, but could be used by other modules.

Hierarchy

Expanded class hierarchy of xautoload_FinderPlugin_CheckIncludePath

File

legacy/lib/FinderPlugin/CheckIncludePath.php, line 8

View source
class xautoload_FinderPlugin_CheckIncludePath implements xautoload_FinderPlugin_Interface {

  /**
   * {@inheritdoc}
   */
  function findFile($api, $logical_base_path, $relative_path) {
    $path = $logical_base_path . $relative_path;
    return $api
      ->suggestFile_checkIncludePath($path);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
xautoload_FinderPlugin_CheckIncludePath::findFile function Find the file for a class that in PSR-0 or PEAR would be in $psr_0_root . '/' . $path_fragment . $path_suffix Overrides xautoload_FinderPlugin_Interface::findFile