| `- classes
| `- Util
| `- String
- | |- StringUtil.php
- | `- StringSearch.php
+ | |- StringUtil.php (\Util\String\StringUtil)
+ | `- StringSearch.php (\Util\String_StringSearch)
`- core
`- Input
|- InputValidator.php
```
-And assuming that the following classes exists.
-
-- `StringUtil.php` contains:
- + `\Util\String\StringUtil` class
-- `StringSearch.php` contains:
- + `\Util\String_StringSearch` class
-
※ note that the StringSearch class has 'underscores' (imagine one of the
old guys in the company created it.)
$strSearch = new String_StringSearch();
```
-Having the same directory structure above, assume that the following
-classes exists.
+Assuming the following directory structure:
+
+```
+__DOC_ROOT__
+ |- common
+ | `- classes
+ | `- Util
+ | `- String
+ | |- StringUtil.php
+ | `- StringSearch.php
+ `- core
+ `- Input
+ |- InputValidator.php (\Framework\Validation\Input\InputValidator)
+ `- InputFilter.php (\Framework\Validation\Input_InputFilter)
-- `InputValidator.php` contains:
- + `\Framework\Validation\Input\InputValidator` class
-- `InputFilter.php` contains:
- + `\Framework\Validation\Input_InputFilter` class
+```
Registering the path `__DOC_ROOT_/core` will not autoload the validation
## Debugging ##
-If you are lost and don't know what paths are registered, find a bible (perhaps.)
+If you are lost, find a bible (perhaps.)
+
+Get the registered paths with:
```
use frostbane\autoloader\Psr0;