This commit is contained in:
Michael RICOIS 2018-03-05 17:04:58 +01:00
parent d7cce43d8f
commit bec5a21522

View File

@ -2,21 +2,11 @@
namespace Predis; namespace Predis;
/*
* This file is part of the Predis package.
*
* (c) Daniele Alessandri <suppakilla@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/** /**
* Autoloader * Autoloader
*/ */
function predisAutoload($className) function predisAutoload($className)
{ {
$prefix = __NAMESPACE__ . '\\'; $prefix = __NAMESPACE__ . '\\';
$prefixLength = strlen($prefix); $prefixLength = strlen($prefix);
if (0 === strpos($className, $prefix)) if (0 === strpos($className, $prefix))