mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
516 B
516 B
date | id | title |
---|---|---|
2020-11-16 | cdd80a6e-47b0-4d59-b117-6f875f37a952 | info() / setInfo() |
Description
Add description/help/debug message to Resolver option
Syntax
// using the traditional syntax
$resolver->setInfo('scheduledAt', 'It must be a date in the future.');
// using the fluent interface
$resolver->define('scheduledAt')
// ...
->info('It must be a date in the future.');
The option "scheduledAt" with value DateTime is invalid.
Info: It must be a date in the future.