public function ConstraintWithValueAsDefault::getDefaultOption in Plug 7
Returns the name of the default option.
Override this method to define a default option.
@api
Return value
string
Overrides Constraint::getDefaultOption
See also
__construct()
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Fixtures/ ConstraintWithValueAsDefault.php, line 22
Class
Namespace
Symfony\Component\Validator\Tests\FixturesCode
public function getDefaultOption() {
return 'value';
}