Extension points
phil/url-bundleWhat an application adds or extends. The addresses and kinds are phil/url's.
The application's own kinds
An enum of the application's implementing Phil\Url\UrlType is accepted wherever kinds are named: in the types of
TypedUrlType and of UrlOfType, as an enum class, a case, an EnumSet or a list of these. Listed before
KnownUrlType, its kinds win detection over the international ones — see Accepted kinds.
Forms and validation
| Point | How |
|---|---|
| The kinds a field detects | The types option of TypedUrlType — see Forms |
| The kinds accepted | The types of UrlOfType; its message and typeMessage — see Validation |
| More than the field does | A form type extension of the application's on TypedUrlType |