51Degrees Pipeline for PHP

fiftyone\pipeline\translation\MissingTranslationBehavior Class Reference

Detailed Description

How a translation engine behaves when there is no translation for a given value.

Static Public Member Functions

static fromName (string $name)
 The behavior a configuration file names, matched ignoring case.

Data Fields

const ORIGINAL = 'Original'
const EMPTY_STRING = 'EmptyString'
const FLOW_ERROR = 'FlowError'

Member Function Documentation

◆ fromName()

fiftyone\pipeline\translation\MissingTranslationBehavior::fromName ( string $name)
static

The behavior a configuration file names, matched ignoring case.

Exceptions

InvalidArgumentException when the name is not one of the three behaviors