<commit_before>Better Reflection
=================

Mimics PHP's [reflection API](http://php.net/manual/en/book.reflection.php) but without actually loading the class at
any point. Like magic. Idea credit goes to @ocramius.

## Example usage

```php
$classLoader = require "vendor/autoload.php";

use BetterReflection\Reflector\ClassReflector;

$reflector = new ClassReflector(new ComposerSourceLocator($classLoader));
$reflectionClass = $reflector->reflect('Foo\Bar\MyClass');
```

## More documentation

* [Compatibility with core Reflection API]((https://github.com/Roave/BetterReflection/tree/master/docs/compatibility.md))
* [Basic usage instructions]((https://github.com/Roave/BetterReflection/tree/master/docs/usage.md))
* [Using types](https://github.com/Roave/BetterReflection/tree/master/docs/types.md)<commit_msg>Fix typo in README that stopped doc links working<commit_after>Better Reflection
=================

Mimics PHP's [reflection API](http://php.net/manual/en/book.reflection.php) but without actually loading the class at
any point. Like magic. Idea credit goes to @ocramius.

## Example usage

```php
$classLoader = require "vendor/autoload.php";

use BetterReflection\Reflector\ClassReflector;

$reflector = new ClassReflector(new ComposerSourceLocator($classLoader));
$reflectionClass = $reflector->reflect('Foo\Bar\MyClass');
```

## More documentation

* [Compatibility with core Reflection API](https://github.com/Roave/BetterReflection/tree/master/docs/compatibility.md)
* [Basic usage instructions](https://github.com/Roave/BetterReflection/tree/master/docs/usage.md)
* [Using types](https://github.com/Roave/BetterReflection/tree/master/docs/types.md)
{'fraction_non_alphanumeric': 0.1523809523809524, 'fraction_numerical': 0.0, 'mean_word_length': 6.214592274678112, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3033476', 'n_tokens_mistral': 517, 'n_tokens_neox': 501, 'n_words': 103}