mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
Added reference to the PSR-0 standard and the SplClassLoader RFC
This commit is contained in:
parent
65cad9868b
commit
ccbf8553ac
@ -1,5 +1,12 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Simple autoload that follow the PHP Standards Recommendation #0 (PSR-0)
|
||||
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md for more informations.
|
||||
*
|
||||
* Code from the SplClassLoader RFC, see https://wiki.php.net/rfc/splclassloader#example_implementation
|
||||
*
|
||||
*/
|
||||
spl_autoload_register(function($className) {
|
||||
$className = ltrim($className, '\\');
|
||||
$fileName = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user