File: autoload.php

package info (click to toggle)
php-guzzlehttp-ringphp 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 456 kB
  • ctags: 762
  • sloc: php: 3,439; makefile: 173; python: 19
file content (11 lines) | stat: -rw-r--r-- 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
<?php
require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
use Symfony\Component\ClassLoader\ClassLoader;
$loader = new ClassLoader();
$loader->setUseIncludePath(true);
$loader->register();
$loader->addPrefixes(array(
// ClassLoader is not yet PSR-4 friendly, so symlinks are used instead
//	'GuzzleHttp\\Ring'	=> __DIR__.'/../src',
));
require_once 'React/Promise/functions.php';