You are here

protected property FieldPresenceEnhancer::$source in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Enhancer/FieldPresenceEnhancer.php \Symfony\Cmf\Component\Routing\Enhancer\FieldPresenceEnhancer::source

Field name for the source field that must exist. If null, the target field is always set if not already present.

Type: string|null

File

vendor/symfony-cmf/routing/Enhancer/FieldPresenceEnhancer.php, line 30

Class

FieldPresenceEnhancer
This enhancer sets a field to a fixed value. You can specify a source field name to only set the target field if the source is present.

Namespace

Symfony\Cmf\Component\Routing\Enhancer

Code

protected $source;