jclaveau / php-deferred-callchain

Simple fluent API that can be applied on instances or native variables asynchronously
MIT License
1 stars 0 forks source link

Allow calls of native functions #6

Closed jclaveau closed 5 years ago

jclaveau commented 5 years ago

Inspired by https://github.com/danielsdeboer/pipe. The above lib doesn't handle async behavior and has reserved methods like "pipe", "take"...

Adding this to DeferredCallChain would make it super easy to deal with returns of methods which are not objects.