You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the methods supported by the Server (or Direct or Shared) require access to a Transaction model with its relevant storage. That should be moved to the constructor so that we can guarantee that it is available, instead of keep checking whether it has been set whenever we need it.
Any apps that make use of the setter would need modifying, so this is a warning :-)
Similarly, TransactionPdo should also take a database object in its constructor, since it will not work without one.
The text was updated successfully, but these errors were encountered:
Most of the methods supported by the Server (or Direct or Shared) require access to a Transaction model with its relevant storage. That should be moved to the constructor so that we can guarantee that it is available, instead of keep checking whether it has been set whenever we need it.
Any apps that make use of the setter would need modifying, so this is a warning :-)
Similarly, TransactionPdo should also take a database object in its constructor, since it will not work without one.
The text was updated successfully, but these errors were encountered: