Expand description
Emulation of the symfony/runtime plugin (plan r2): the plugin only
generates vendor/autoload_runtime.php at autoload dump time. The template
below is the observed output of the real plugin (symfony-demo fixture,
default options); the drift test (ignored by default, slow) regenerates
the reference through a real composer install with plugins.
If the root composer.json customises extra.runtime, we are outside the
default emulation, so the scope detector routes to the fallback.
Constants§
Functions§
- php_
var_ export var_export($value, true)for a JSON-decoded value (json_decode(…, true): objects are arrays), with PHP’s two-space nesting.- write_
stub ComposerPlugin::updateAutoloadFile: the template shipped by the installedsymfony/runtime(Internal/autoload_runtime.template, orextra.runtime.autoload_template), with%project_dir%,%runtime_class%and%runtime_options%substituted fromextra.runtime.extra.runtime: falsewrites nothing. The embedded template above is the fallback when the package ships none.