This repository has been archived by the owner on May 15, 2021. It is now read-only.
Releases: chillerlan/php-traits
Releases · chillerlan/php-traits
3.0.2
3.0.1
- phpunit 8
3.0.0
Split several things into separate libraries:
Container
->SettingsContainerInterface
DotEnv
->DotEnv
Crypto\*
-> php-cryptobox (WIP)
2.0.0
- dropped support for PHP < 7.2
- renamed
ContainerInterface
toImmutableSettingsInterface
to avoid confusion with the PSR Container - changed
array
to type hints inImmutableSettingsInterface::_construct()
toiterable
- added several
void
return types - cleanup™
1.1.13
- added constructor functionality to
containerAbstract
: a method with trait name for each used trait will be called on invocation. - removed
callable
type hints inEnumerable
- added more tests for
Enumerable
1.1.12
- added
Enumerable::__first()
Enumerable::__last()
now returnsnull
instead of emitting a notice in case the element doesn't exist- removed
Env
functionality fromContainer
for now
1.1.11
:octocat:
1.1.10
Container
: allow json prettyprint- cleanup™ & fixes™
1.1.9
- added keypair-setters
1.1.8
- added
Crypto
:CryptoBoxInterface
:Box
,SecretBox
,SealedBox
,SignedMessage
CryptoKeyInterface
:BoxKeypair
,SignKeypair
CryptoTrait
MemzeroDestructorTrait