Function DebugFsStreamWrapper->init_call
Definitions
sources/debug_fs.php
- Called at the start of filesystem wrapper calls, so we can use as a debugging point.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$function | string | No | No | required parameter | N/A | N/A | The function call that is happening |
$path | ?PATH | No | No | Null | N/A | N/A | Path (null: N/A) |
$slowdown | boolean | No | No | False | N/A | N/A | Whether to apply an automatic slow-down |
Preview
Code (PHP)
/**
* Called at the start of filesystem wrapper calls, so we can use as a debugging point.
*
* @param string $function The function call that is happening
* @param ?PATH $path Path (null: N/A)
* @param boolean $slowdown Whether to apply an automatic slow-down
*/
protected function init_call(string $function, ?string $path = null, bool $slowdown = false)
* Called at the start of filesystem wrapper calls, so we can use as a debugging point.
*
* @param string $function The function call that is happening
* @param ?PATH $path Path (null: N/A)
* @param boolean $slowdown Whether to apply an automatic slow-down
*/
protected function init_call(string $function, ?string $path = null, bool $slowdown = false)