You are here

public function ConstraintC::getRequiredOptions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Fixtures/ConstraintC.php \Symfony\Component\Validator\Tests\Fixtures\ConstraintC::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/Tests/Fixtures/ConstraintC.php, line 21

Class

ConstraintC

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

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