rfc:interface-default-methods
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:interface-default-methods [2023/07/03 03:41] – Fix grammar theodorejb | rfc:interface-default-methods [2023/07/17 15:06] (current) – Status: declined levim | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2022-06-27 | * Date: 2022-06-27 | ||
* Author: Levi Morrison, levim@php.net | * Author: Levi Morrison, levim@php.net | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 44: | Line 44: | ||
- If the above rules fail, then the class needs to implement the method itself, possibly delegating to one of the interfaces. | - If the above rules fail, then the class needs to implement the method itself, possibly delegating to one of the interfaces. | ||
- | This RFC proposes the same. However, rule 2 has not yet been implemented so I am unsure how feasible it is. | + | This RFC proposes the same. However, rule 2 is only partially implemented at this time. |
Here's an example of a class delegating to another method: | Here's an example of a class delegating to another method: |
rfc/interface-default-methods.txt · Last modified: 2023/07/17 15:06 by levim