Author: Manuel Lemos
Updated on: 2023-01-28
Posted on: 2023-01-28
Package: Options Resolver
One way to pass options values is to use arrays with the names and the importance of the options that will be changed.
This package simplifies processing options arrays passed to classes by extracting the values from collections or default values defined within the class.
About the Options Resolver Package
The package Options Resolver is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Configure objects with option arrays
Here follows in more detail what it does:
This package can help to configure objects with option arrays.
It provides a resolver class that can take the names of a set of options and default values that will be assumed when an option value is missing.
The resolver class can also process an array to extract option values or use default values for missing options.
The OptionsResolver component helps you configure objects with option arrays.
The Options Resolver can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,605,771 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.