DataInstance should extend AccessibleResource #9511
Labels
Category: Refactor
PR or issue that aims to improve the existing code
Cleanup
PR or issue introducing/requiring at least one clean-up operation
Difficulty: Medium
PR or issue that require a moderate effort or expertise to implement, review, or test
Language: PHP
PR or issue that update PHP code
Proposal
PR or issue suggesting an improvement that can be accepted, rejected or altered
isAccessibleBy is a method that you should be able to call on any arbitrary DataInstance object.
This was not done initially, because it extends jsonSerializeable, but in fact, since it is an interface, it can extend both interfaces to ensure that DataInstance implementations implement both.
Related to #7417 (this would allow use to share concrete instances of a DataInstance objects between provisioners and entities.)
The text was updated successfully, but these errors were encountered: