-
Notifications
You must be signed in to change notification settings - Fork 199
DataInstance should extend AccessibleResource #9511
Copy link
Copy link
Labels
Category: CleanupPR or issue introducing/requiring at least one clean-up operationPR or issue introducing/requiring at least one clean-up operationCategory: RefactorPR or issue that aims to improve the existing codePR or issue that aims to improve the existing codeDifficulty: MediumPR or issue that require a moderate effort or expertise to implement, review, or testPR or issue that require a moderate effort or expertise to implement, review, or testLanguage: PHPPR or issue that update PHP codePR or issue that update PHP codeProposalPR or issue suggesting an improvement that can be accepted, rejected or alteredPR or issue suggesting an improvement that can be accepted, rejected or altered
Milestone
Metadata
Metadata
Assignees
Labels
Category: CleanupPR or issue introducing/requiring at least one clean-up operationPR or issue introducing/requiring at least one clean-up operationCategory: RefactorPR or issue that aims to improve the existing codePR or issue that aims to improve the existing codeDifficulty: MediumPR or issue that require a moderate effort or expertise to implement, review, or testPR or issue that require a moderate effort or expertise to implement, review, or testLanguage: PHPPR or issue that update PHP codePR or issue that update PHP codeProposalPR or issue suggesting an improvement that can be accepted, rejected or alteredPR or issue suggesting an improvement that can be accepted, rejected or altered
Type
Fields
Give feedbackNo fields configured for Enhancement.
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.)