<?php
declare(strict_types=1);

/*
|--------------------------------------------------------------------------
| PPphp Platform Bootstrap
|--------------------------------------------------------------------------
|
| Registers the PPphp class loader. Tools and tests should require this file
| instead of maintaining manual require_once lists.
|
*/

$basePath = dirname(__DIR__);

require_once $basePath . '/core/Platform/Bootstrap/PlatformClassLoader.php';
require_once $basePath . '/core/Platform/Bootstrap/PlatformBootstrap.php';

\PpPhp\Core\Platform\Bootstrap\PlatformBootstrap::boot($basePath);

return $basePath;
