Download the PHP package serafim/immutable without Composer
On this page you can find all versions of the php package serafim/immutable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download serafim/immutable
More information about serafim/immutable
Files in serafim/immutable
Download serafim/immutable
More information about serafim/immutable
Files in serafim/immutable
Vendor serafim
Package immutable
Short Description Simple helper to ensure immutable objects
License MIT
Homepage https://github.com/SerafimArts/Immutable
Package immutable
Short Description Simple helper to ensure immutable objects
License MIT
Homepage https://github.com/SerafimArts/Immutable
Please rate this library. Is it a good library?
Informations about the package immutable
Immutable
Installation
Install via Composer:
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!
Features
- ☑ Full PHP 7.2, PHP 7.3, PHP 7.4 and PHP 8.0 (dev) compatibility (proof)
- ☑ PSR-4
- ☑ PSR-12
- ☑ Convenient helpers that don't break code =)
- ☑ Feel the power of immutable objects!
License
See LICENSE
All versions of immutable with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0
The package serafim/immutable contains the following files
Loading the files please wait ....