PHPGenerics / php-generics-rfc

Mirror of https://wiki.php.net/rfc/generics for easier collaboration
186 stars 1 forks source link

Abstract generic methods #19

Open mindplay-dk opened 6 years ago

mindplay-dk commented 6 years ago

Does the RFC need to define or describe abstract generic methods?

Will they be supported?

If soo, do they work mostly just like interface methods? (and if so, should we describe that in the RFC?)

orolyn commented 6 years ago

We should describe it yes, for clarity anyway. Under the hood interface methods and abstract methods are functionally the same thing (@morrisonlevi tell me if I'm wrong), so we could describe them in the same way as each other.