MutateArrayAddUniqueSpec
in package
implements
MutateInSpec
Indicates to add a value into an array at a path in a document so long as that value does not already exist in the array.
Interfaces, Classes and Traits
- MutateInSpec
- MutateInSpec is an interface for providing subdocument mutation operations.
Table of Contents
- __construct() : mixed
Methods
__construct()
public
__construct(string $path, mixed $value, bool $isXattr, bool $createPath, bool $expandMacros) : mixed
Parameters
- $path : string
- $value : mixed
- $isXattr : bool
- $createPath : bool
- $expandMacros : bool