Download the PHP package agorlov/php-constructor-overloading without Composer
On this page you can find all versions of the php package agorlov/php-constructor-overloading. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download agorlov/php-constructor-overloading
More information about agorlov/php-constructor-overloading
Files in agorlov/php-constructor-overloading
Download agorlov/php-constructor-overloading
More information about agorlov/php-constructor-overloading
Files in agorlov/php-constructor-overloading
Vendor agorlov
Package php-constructor-overloading
Short Description Multiple constructors in PHP
License MIT
Homepage https://github.com/agorlov/php-constructor-overloading
Package php-constructor-overloading
Short Description Multiple constructors in PHP
License MIT
Homepage https://github.com/agorlov/php-constructor-overloading
Please rate this library. Is it a good library?
Informations about the package php-constructor-overloading
Мultiple constructors in PHP
Constructor overload PHP methods, like in Java or C++
Based on article (how to adopt this technic from Java to PHP):
https://www.yegor256.com/2015/05/28/one-primary-constructor.html
For PHP > 7
How to install
Usage example
more examples: in example.php
and example2.php
Valid scalar hints
- array
- callable
- bool not boolean!
- float not double!
- int not integer!
- string
- iterable
- object
Tests
All versions of php-constructor-overloading with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package agorlov/php-constructor-overloading contains the following files
Loading the files please wait ....