AppserverIo\Appserver\Naming\NamingDirectory::bindCallback PHP Method

bindCallback() public method

Binds the passed callback with the name to the naming directory.
See also: AppserverIo\Appserver\Naming\NamingDirectory::bind()
public bindCallback ( string $name, callable $callback, array $args = [] ) : void
$name string The name to bind the callback with
$callback callable The callback to be invoked when searching for
$args array The array with the arguments passed to the callback when executed
return void
    public function bindCallback($name, callable $callback, array $args = array())
    {
        $this->bind($name, $callback, $args);
    }