Skip to content
This repository was archived by the owner on May 15, 2021. It is now read-only.

Releases: chillerlan/php-traits

3.0.2

21 Mar 02:38

Choose a tag to compare

  • +backslashes for php built-in functions

3.0.1

06 Mar 19:05

Choose a tag to compare

  • phpunit 8

3.0.0

22 Oct 22:25

Choose a tag to compare

Split several things into separate libraries:

2.0.0

08 Aug 17:06

Choose a tag to compare

  • dropped support for PHP < 7.2
  • renamed ContainerInterface to ImmutableSettingsInterface to avoid confusion with the PSR Container
  • changed array to type hints in ImmutableSettingsInterface::_construct() to iterable
  • added several void return types
  • cleanup™

1.1.13

22 Jun 17:52

Choose a tag to compare

  • added constructor functionality to containerAbstract: a method with trait name for each used trait will be called on invocation.
  • removed callable type hints in Enumerable
  • added more tests for Enumerable

1.1.12

22 Apr 16:55

Choose a tag to compare

  • added Enumerable::__first()
  • Enumerable::__last() now returns null instead of emitting a notice in case the element doesn't exist
  • removed Env functionality from Container for now

1.1.11

10 Apr 08:27

Choose a tag to compare

:octocat:

1.1.10

09 Apr 19:31

Choose a tag to compare

  • Container: allow json prettyprint
  • cleanup™ & fixes™

1.1.9

28 Jan 20:36

Choose a tag to compare

  • added keypair-setters

1.1.8

25 Jan 22:04

Choose a tag to compare

  • added Crypto:
    • CryptoBoxInterface: Box, SecretBox, SealedBox, SignedMessage
    • CryptoKeyInterface: BoxKeypair, SignKeypair
    • CryptoTrait
    • MemzeroDestructorTrait