Doctrine\ORM\Mapping\MappingException::missingRequiredOption
Called if a required option was not found but is required
Signature
public function missingRequiredOption(string
$field,
[string
$expectedOption = '',
[string
$hint = '']] )
Parameters
$field
— string- which field cannot be processed?
$expectedOption
— string- which option is required
$hint
— string- Can optionally be used to supply a tip for common mistakes,
e.g. "Did you think of the plural s?"
Returns
- MappingException