v2.0.0-rc.3
Pre-release
Pre-release
·
179 commits
to develop
since this release
Upgrading
composer require "cloudcreativity/ddd-modules:^2.0.0-rc.3"Changelog
Added
- The result class now has a
Result::fail()static method to create a failed result. This is an alias of the existingResult::failed()method. - BREAKING The
Entityinterface (and therefore theAggregateinterface too) now has agetIdOrFail()method on it. Although technically breaking, if you are using theIsEntityorIsEntityWithNullableIdtraits then this method is already implemented. - New
AggregateRootinterface so that an aggregate root can be distinguished from a regular aggregate or entity.
Changed
- Remove deprecation message in PHP 8.4.
Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3