[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 error_reporting(E_ALL | E_STRICT); 4 ini_set('display_errors', 1); 5 6 $root = realpath(dirname(dirname(__FILE__))); 7 $library = "$root/Services"; 8 $tests = "$root/tests"; 9 10 $path = array($library, $tests, get_include_path()); 11 set_include_path(implode(PATH_SEPARATOR, $path)); 12 13 $vendorFilename = dirname(__FILE__) . '/../vendor/autoload.php'; 14 if (file_exists($vendorFilename)) { 15 /* composer install */ 16 require $vendorFilename; 17 } else { 18 /* hope you have it installed somewhere. */ 19 require_once 'Mockery/Loader.php'; 20 } 21 $loader = new \Mockery\Loader; 22 $loader->register(); 23 24 require_once 'Twilio.php'; 25 26 unset($root, $library, $tests, $path); 27
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |