Download the PHP package phpfn/immutable without Composer
On this page you can find all versions of the php package phpfn/immutable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phpfn/immutable
More information about phpfn/immutable
Files in phpfn/immutable
Download phpfn/immutable
More information about phpfn/immutable
Files in phpfn/immutable
Vendor phpfn
Package immutable
Short Description Simple helper to ensure immutable objects
License MIT
Homepage https://github.com/phpfn
Package immutable
Short Description Simple helper to ensure immutable objects
License MIT
Homepage https://github.com/phpfn
Please rate this library. Is it a good library?
Informations about the package immutable
Immutable
Installation
Library can be installed into any PHP application:
In order to access library make sure to include vendor/autoload.php
in your file.
Usage
To ensure immunity of objects, you just need to wrap any code of your method in a closure.
Mutable object example:
Making it immutable:
That`s all!
All versions of immutable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package phpfn/immutable contains the following files
Loading the files please wait ....