function FileProcessOutputCallback::__invoke
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/FileProcessOutputCallback.php \Drupal\package_manager\FileProcessOutputCallback::__invoke()
File
-
core/
modules/ package_manager/ src/ FileProcessOutputCallback.php, line 68
Class
- FileProcessOutputCallback
- Logs process output to a file.
Namespace
Drupal\package_managerCode
public function __invoke(OutputTypeEnum $type, string $buffer) : void {
fwrite($this->handle, $buffer);
if ($this->decorated) {
($this->decorated)($type, $buffer);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.