Oihana PHP Arango

CompiledMasking uses ConstantsTrait

The structural keys of the **compiled** masking structure produced by {@see ArangoMaskingTrait::compileMaskings()}.

The compiled structure is, per collection, { type: <mode>, maskings: [ { path, type, …options } ] }:

  • type is the collection-level MaskingMode ;
  • maskings is the list of attribute rules handed to maskDocument() (each rule keyed by MaskingRule).

Table of Contents

Constants

MASKINGS  : string = 'maskings'
The 'maskings' key — the list of attribute masking rules of a collection.
TYPE  : string = 'type'
The 'type' key — the collection-level masking mode (a {@see oihana\masking\enums\MaskingMode} value).

Constants

MASKINGS

The 'maskings' key — the list of attribute masking rules of a collection.

public string MASKINGS = 'maskings'

TYPE

The 'type' key — the collection-level masking mode (a {@see oihana\masking\enums\MaskingMode} value).

public string TYPE = 'type'
On this page

Search results