Expand description
Include closure: the files reachable from a set of seeds through statically
resolvable require/include targets.
Enums§
- Vendor
Targets - Whether include targets under a
vendordirectory join the closure.
Functions§
- include_
closure - Returns
seedsplus every file reachable from them throughrequire/includetargets that resolve to a real file with a PHP extension inextensions, recursing since a newly-added file may itself reach further files. Only statically-resolvable target shapes are followed: a literal string, and__DIR__/dirname(__FILE__)concatenated with a literal string, the common manual-bootstrap idiom (e.g.require_once __DIR__ . '/../legacy/bootstrap.php'). A bare literal with no__DIR__resolves relative to the including file’s own directory.