(PHP 5 >= 5.4.0, PHP 7)
Duplicates a closure with a specific bound object and class scope
public static Closure Closure::bind ( Closure $closure, object $newthis [, mixed $newscope = "static" ] )
This method is a static version of Closure::bindTo(). See the documentation of that method for more information.
Parameters:
closure
The anonymous functions to bind.