louis-l / once
A magic memoization function
Fund package maintenance!
spatie.be/open-source/support-us
3.0.2
2021-10-14 01:25 UTC
Requires
- php: ^7.4
- benmorel/weakmap-polyfill: ^0.2.0
Requires (Dev)
- phpunit/phpunit: ^9.0
- symfony/var-dumper: ^5.1
README
This is a forked repo from https://github.com/spatie/once to support PHP 7.4
This package rollback the code syntax to PHP 7.4 and use https://github.com/BenMorel/weakmap-polyfill