Skip to content

Commit 864d83d

Browse files
author
Paul M. Jones
committed
Merge pull request #1 from drak/examples
Add explanation of the example table.
2 parents 45c1231 + acf7c83 commit 864d83d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

proposed/psr-4-autoloader/psr-4-autoloader-mini.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ to place files that will be autoloaded according the specification.
5858

5959
## 3. Examples
6060

61-
| Fully Qualified Class Name | Qualified Name | Base Directory | Corresponding File Path |
62-
| :---------------------------- | :---------------- | :------------------------ | :---------------------------------------- |
63-
| \Acme\Log\Writer\File_Writer | Acme\Log\Writer | ./acme-log-writer/lib/ | ./acme-log-writer/lib/File_Writer.php |
64-
| \Aura\Web\Response\Status | Aura\Web | /path/to/aura-web/src/ | /path/to/aura-web/src/Response/Status.php |
65-
| \Symfony\Core\Request | Symfony\Core | ./vendor/Symfony/Core/ | ./vendor/Symfony/Core/Request.php |
66-
| \Zend\Acl | Zend | /usr/includes/Zend/ | /usr/includes/Zend/Acl.php |
61+
The table below shows the expected file path [4] for given inputs [1], [2], & [3]:
62+
63+
Fully Qualified Class Name[1] | Qualified Name[2] | Base Directory[3] | Corresponding File Path[4]
64+
------------------------------|--------------------|--------------------------|-------------------------------------------
65+
\Acme\Log\Writer\File_Writer | Acme\Log\Writer | ./acme-log-writer/lib/ | ./acme-log-writer/File_Writer.php
66+
\Aura\Web\Response\Status | Aura\Web | /path/to/aura-web/src/ | /path/to/aura-web/src/Response/Status.php
67+
\Symfony\Core\Request | Symfony\Core | ./vendor/Symfony/Core/ | ./vendor/Symfony/Core/Request.php
68+
\Zend\Acl | Zend | /usr/includes/Zend/ | /usr/includes/Zend/Acl.php
6769

6870
For example implementations of autoloaders conforming to the specification,
6971
please see the [examples file][]. Example implementations MUST NOT be regarded

0 commit comments

Comments
 (0)