You are here

public function CardScheme::getRequiredOptions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Constraints/CardScheme.php \Symfony\Component\Validator\Constraints\CardScheme::getRequiredOptions()

Returns the name of the required options.

Override this method if you want to define required options.

Return value

array

Overrides Constraint::getRequiredOptions

See also

__construct()

File

vendor/symfony/validator/Constraints/CardScheme.php, line 43

Class

CardScheme
Metadata for the CardSchemeValidator.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getRequiredOptions() {
  return array(
    'schemes',
  );
}