Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Allow casting closures into single-method interface implementations
»
RFC: Allow casting closures into single-method interface implementations
Project Governance
Author
nicolasgrekas
This RFC proposes a new method for the Closure class called castTo(). This method would allow developers to create an instance of a class that implements a spec...
View Original
This RFC has not yet started voting