Recommend this page to a friend! |
The OptionsResolver component helps you configure objects with option arrays. It supports default values, option constraints and lazy options.
Classes of Boss Ibrahim Mussa | > | How Can You Use a PHP Options Array to Configure Options Using Options Resolver | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
Groups | Applications | Files |
Groups |
Data types | Modeling and manipulating data types | View top rated classes |
Language | Constructs to assist in the language control | View top rated classes |
Configuration | Configuration formats parsing and generation | View top rated classes |
PHP 7 | Classes using PHP 7 specific features | View top rated classes |
Innovation Award |
December 2022 Nominee Vote |
Many classes need to be configured using options provided by the developers in the code that calls the classes' functions. One way to pass options values is to use arrays with the names and the values of the options that will be changed. This package simplifies the processing of options arrays that are passed to classes by extracting the values from arrays or default values defined within the class. Manuel Lemos |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
.github (1 directory) | ||||
demo (2 files) | ||||
src (2 files, 1 directory) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Traits (1 file) | ||||
Option.php | Class | Class source | ||
OptionsResolver.php | Class | Class source |
Download all files: optionsresolver.tar.gz optionsresolver.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|
Files |
File | Role | Description | ||
---|---|---|---|---|
.github (1 directory) | ||||
demo (2 files) | ||||
src (2 files, 1 directory) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Traits (1 file) | ||||
Option.php | Class | Class source | ||
OptionsResolver.php | Class | Class source |
Download all files: optionsresolver.tar.gz optionsresolver.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|