function DirectWritePreconditionBypass::isFulfilled
File
-
core/
modules/ package_manager/ src/ DirectWritePreconditionBypass.php, line 74
Class
- DirectWritePreconditionBypass
- Allows certain Composer Stager preconditions to be bypassed.
Namespace
Drupal\package_managerCode
public function isFulfilled(PathInterface $activeDir, PathInterface $stagingDir, ?PathListInterface $exclusions = NULL, int $timeout = ProcessInterface::DEFAULT_TIMEOUT) : bool {
if (static::$isBypassed) {
return TRUE;
}
return $this->decorated
->isFulfilled($activeDir, $stagingDir, $exclusions, $timeout);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.