OSDN Git Service

update README master
authorfrostbane <frostbane@programmer.net>
Tue, 10 Dec 2019 00:53:50 +0000 (09:53 +0900)
committerfrostbane <frostbane@programmer.net>
Tue, 10 Dec 2019 00:53:50 +0000 (09:53 +0900)
README.md

index 0d4e906..e45c532 100644 (file)
--- a/README.md
+++ b/README.md
@@ -14,8 +14,8 @@ __DOC_ROOT__
      |    `- classes
      |        `- Util
      |            `- String
-     |                |- StringUtil.php
-     |                `- StringSearch.php
+     |                |- StringUtil.php (\Util\String\StringUtil)
+     |                `- StringSearch.php (\Util\String_StringSearch)
      `- core
           `- Input
                |- InputValidator.php
@@ -23,13 +23,6 @@ __DOC_ROOT__
 
 ```
 
-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.)
 
@@ -51,13 +44,22 @@ $strUtil = new StringUtil();
 $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
@@ -112,7 +114,9 @@ $loader->registerNamespacePath(array("\\some\\namespace"        => __DOC_ROOT__
 
 ## 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;