PHP Class DataTemplateComponent

Afficher le fichier Open project: openeyes/openeyes

Protected Properties

Свойство Type Description
$value

Méthodes publiques

Méthode Description
__construct ( mixed $value )
generate ( array $values ) : mixed Generate a data structure from the template using the values supplied.
match ( mixed $structure, &$warnings = [] ) : array | null Match the template against a structure and extract values.

Method Details

__construct() public méthode

public __construct ( mixed $value )
$value mixed

generate() abstract public méthode

Generate a data structure from the template using the values supplied.
abstract public generate ( array $values ) : mixed
$values array
Résultat mixed

match() abstract public méthode

Match the template against a structure and extract values.
abstract public match ( mixed $structure, &$warnings = [] ) : array | null
$structure mixed
Résultat array | null Extracted values, or null if matching failed

Property Details

$value protected_oe property

protected $value