[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/tests/includes/ -> boot.php (summary)

Boot YOURLS the way the test suite needs it. Used by tests/bootstrap.php (which installs the DB and runs unit tests) and by tests/data/scripts/run-scenario.php (which runs tests in a NEW process, to allow testing specific scenarios with constants).

File Size: 64 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 2 files
 includes/vendor/autoload.php
 tests/includes/install.php

Defines 1 function

  yut_boot_yourls()

Functions
Functions that are not part of a class:

yut_boot_yourls( $init_overrides = array()   X-Ref
Load the test config file and boot YOURLS core

Bootstrap steps that need a web context, or a YOURLS that's already installed, are skipped.
Callers can turn any other step on or off with $init_overrides.

return: string                The config file that was loaded
param: array $init_overrides  Properties of \YOURLS\Config\InitDefaults to override, as $name => $bool



Generated: Sun Aug 9 05:10:27 2026 Cross-referenced by PHPXref 0.7.1