how do closures help in creating a DSL/fluent interface: PHP examples?

Posted by koen on Stack Overflow See other posts from Stack Overflow or by koen
Published on 2010-05-24T19:16:49Z Indexed on 2010/05/24 19:21 UTC
Read the original article Hit count: 248

Can you give me an example, in PHP, that shows how closures are helpful in creating a DSL (fluent interface)?

© Stack Overflow or respective owner

Related posts about php

Related posts about closures