MutateRemoveSpec
in package
implements
MutateInSpec
Indicates to remove a value at a path in a document.
Interfaces, Classes, Traits and Enums
- MutateInSpec
- MutateInSpec is an interface for providing subdocument mutation operations.
Table of Contents
- $createPath : bool
- $expandMacros : bool
- $isXattr : bool
- $path : string
- __construct() : mixed
- build() : MutateRemoveSpec
- createPath() : MutateRemoveSpec
- expandMacros() : MutateRemoveSpec
- xattr() : MutateRemoveSpec
Properties
$createPath
private
bool
$createPath
$expandMacros
private
bool
$expandMacros
$isXattr
private
bool
$isXattr
$path
private
string
$path
Methods
__construct()
public
__construct(string $path[, bool $isXattr = false ][, bool $createPath = false ][, bool $expandMacros = false ]) : mixed
Parameters
- $path : string
- $isXattr : bool = false
- $createPath : bool = false
- $expandMacros : bool = false
Tags
Return values
mixed —build()
public
static build(string $path[, bool $isXattr = false ][, bool $createPath = false ][, bool $expandMacros = false ]) : MutateRemoveSpec
Parameters
- $path : string
- $isXattr : bool = false
- $createPath : bool = false
- $expandMacros : bool = false
Tags
Return values
MutateRemoveSpec —createPath()
public
createPath(bool $createPath) : MutateRemoveSpec
Parameters
- $createPath : bool
Tags
Return values
MutateRemoveSpec —expandMacros()
public
expandMacros(bool $expandMacros) : MutateRemoveSpec
Parameters
- $expandMacros : bool
Tags
Return values
MutateRemoveSpec —xattr()
public
xattr(bool $isXattr) : MutateRemoveSpec
Parameters
- $isXattr : bool