You are here

public function Callback::getDefaultOption in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Constraints/Callback.php \Symfony\Component\Validator\Constraints\Callback::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/Constraints/Callback.php, line 67

Class

Callback
@Target({"CLASS", "PROPERTY", "METHOD", "ANNOTATION"})

Namespace

Symfony\Component\Validator\Constraints

Code

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