private function searchExtensions($path)
    {
        foreach ($this->fileExtensions as $ext) {
            if (file_exists($path . $ext)) {
                return $path . $ext;
            }
        }

        return false;
    }
private function searchExtensions($path)
    {
        foreach ($this->fileExtensions as $ext) {
            if (file_exists($path . $ext)) {
                return $path . $ext;
            }
        }

        return false;
    }
private function searchExtensions ( $ path ) { foreach ( $ this -> fileExtensions as $ ext ) { if ( file_exists ( $ path . $ ext ) ) { return $ path . $ ext ; } } return false ; }
Searches for the class file using known file extensions.
@param string $path Path to the class file without the file extension
@return string|false Path to the class file or false if not found
Searches for the class file using known file extensions .