Rs\Json\Patch\Operations\Add::getReplacementValue PHP Method

getReplacementValue() private method

Returns the replacement value.
private getReplacementValue ( ) : mixed
return mixed
    private function getReplacementValue()
    {
        $value = $this->getValue();
        return is_array($value) || is_object($value) ? array($value) : $value;
    }