Function DebugFsStreamWrapper->stream_metadata
Definitions
sources/debug_fs.php
- Set metadata on a file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$path | PATH | No | No | required parameter | N/A | N/A | Path |
$option | integer | No | No | required parameter | N/A | N/A | What to set on |
$value | mixed | No | No | required parameter | N/A | N/A | Value to set |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Set metadata on a file.
*
* @param PATH $path Path
* @param integer $option What to set on
* @param mixed $value Value to set
* @return boolean Success status
*/
public function stream_metadata(string $path, int $option, $value) : bool
* Set metadata on a file.
*
* @param PATH $path Path
* @param integer $option What to set on
* @param mixed $value Value to set
* @return boolean Success status
*/
public function stream_metadata(string $path, int $option, $value) : bool