Download the PHP package functional-php/named-parameters without Composer
On this page you can find all versions of the php package functional-php/named-parameters. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download functional-php/named-parameters
More information about functional-php/named-parameters
Files in functional-php/named-parameters
Download functional-php/named-parameters
More information about functional-php/named-parameters
Files in functional-php/named-parameters
Vendor functional-php
Package named-parameters
Short Description Named parameters for functions, methods and constructors.
License BSD-3-Clause
Package named-parameters
Short Description Named parameters for functions, methods and constructors.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package named-parameters
Named Parameters
It is often useful to be able to call a function or methods using named parameters. For example to only pass a different value for the nth default parameter.
PHP does not allow to do that, this library ought to change that.
Installation
composer require functional-php/named-parameters
Basic Usage
Say you have the following function:
Any of the following call is equivalent:
Testing
You can run the test suite for the library using:
composer test
A test report will be available in the reports
directory.
Contributing
Any contribution welcome :
- Ideas
- Pull requests
- Issues
Inspiration
All versions of named-parameters with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package functional-php/named-parameters contains the following files
Loading the files please wait ....