%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/public_html/website_6ca89795/vendor/phly/http/test/ |
Upload File : |
<?php
namespace PhlyTest\Http;
use RuntimeException;
error_reporting(E_ALL | E_STRICT);
chdir(__DIR__);
/**
* Test bootstrap, for setting up autoloading
*/
class Bootstrap
{
public static function init()
{
static::initAutoloader();
}
protected static function initAutoloader()
{
$vendorPath = __DIR__ . '/../vendor';
if (! is_readable($vendorPath . '/autoload.php')) {
throw new RuntimeException('Unable to locate autoloader. Run `composer install` from the project root directory.');
}
include $vendorPath . '/autoload.php';
}
}
Bootstrap::init();