-
Removed the
MappedStatement
andMappedVerb
classes. They are needed for Doctrine based implementations and thus have been moved to thephp-xapi/repository-doctrine
package. Consequently, theStatementRepository
class has been removed too. You now have to implement theStatementRepositoryInterface
and handleStatement
classes directly instead. -
Removed the
NotFoundException
in favor of the exception with the same name from thephp-xapi/exception
package. -
The public API now uses
StatementId
instances instead of strings to carry information about statement ids. This means changes to the following methods:-
StatementRepositoryInterface::findStatementById()
: The$statementId
argument is now type hinted withStatementId
. -
StatementRepositoryInterface::findVoidedStatementById()
: The$voidedStatementId
argument is now type hinted withStatementId
. -
StatementRepositoryInterface::storeStatement()
: The method returns aStatementId
instance instead of a string.
-
-
The requirements for
php-xapi/model
andphp-xapi/test-fixtures
have been bumped to^1.0
to make use of their stable releases.
The base namespace of all classes was changed from Xabbuh\XApi\Storage\Api
to
XApi\Repository\Api
.