className = $class_name; } /** * This is done in the injected api object, so we can easily provide a mock * implementation. */ function is_dir($dir) { return is_dir($dir); } /** * Get the name of the class we are looking for. * * @return string * The class we are looking for. */ function getClass() { return $this->className; } /** * Dummy method to force autoloading this class (or an ancestor). */ static function forceAutoload() { // Do nothing. } }