Method
Swerve::ini
php.ini settings a package needs in every swerve process. Call it from a file listed in your package's composer.json files: Composer loads it after swerve's own, as the master starts. swerve applies the settings with its startup restart, over its own settings; an explicit -d on the command line still wins.
Description#
public static Swerve::ini(
array $settings
): voidCalls after startup change nothing, so the file may run again: an application that includes Composer's autoloader in every request includes it again.
Parameters#
- $settings array
Examples#
Swerve::ini(['memory_limit' => '512M']);