Documentation

MutateArrayPrependSpec implements MutateInSpec

Indicates to prepend a value to an array at a path in a document.

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, array<string|int, mixed> $values, bool $isXattr, bool $createPath, bool $expandMacros) : mixed
Parameters
$path : string
$values : array<string|int, mixed>
$isXattr : bool
$createPath : bool
$expandMacros : bool
Return values
mixed

Search results