You are here

public function ConstraintWithValueAsDefault::getDefaultOption in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Fixtures/ConstraintWithValueAsDefault.php \Symfony\Component\Validator\Tests\Fixtures\ConstraintWithValueAsDefault::getDefaultOption()

Returns the name of the default option.

Override this method to define a default option.

Return value

string

Overrides Constraint::getDefaultOption

See also

__construct()

File

vendor/symfony/validator/Tests/Fixtures/ConstraintWithValueAsDefault.php, line 22

Class

ConstraintWithValueAsDefault

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function getDefaultOption() {
  return 'value';
}