Skip to content

Commit 92ee70f

Browse files
committed
minor #14415 [OptionsResolver] Add Info() method sample (yceruto)
This PR was merged into the 5.1 branch. Discussion ---------- [OptionsResolver] Add Info() method sample Fix: #13090 Commits ------- 0605be9 Add info() method sample
2 parents b8ce983 + 0605be9 commit 92ee70f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/options_resolver.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,9 @@ method::
811811
$resolver->define('host')
812812
->required()
813813
->default('smtp.example.org')
814-
->allowedTypes('string');
814+
->allowedTypes('string')
815+
->info('The IP address or hostname');
816+
815817
$resolver->define('transport')
816818
->required()
817819
->default('transport')

0 commit comments

Comments
 (0)