# reviewx/trunk/bootstrap/boot.php

ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews &amp; Schema, version trunk. 20 lines.

- Page: https://pluginprobe.com/plugins/reviewx/trunk/code/bootstrap/boot.php
- Raw: https://pluginprobe.com/plugins/reviewx/trunk/raw/bootstrap/boot.php
- Modified: 2026-03-15T12:18:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/reviewx/trunk/code/bootstrap/boot.php#L10-L20`.

```php
<?php

namespace ReviewX;

\defined('ABSPATH') || exit;
use ReviewX\WPDrill\Plugin;
return function (string $file) {
    $plugin = new Plugin($file);
    \ReviewX\WPDrill\Facade::setFacadeApplication($plugin);
    \ReviewX\WPDrill\Models\Model::setFacadeApplication($plugin);
    $fn = null;
    if (\php_sapi_name() !== 'cli') {
        $fn = function (\ReviewX\WPDrill\Routing\RouteManager $route) {
            $route->loadRoutes();
        };
    }
    $plugin->make($fn);
    return $plugin;
};

```
