[Waiting code Merge] Added support for PHP callables