JmesPath\TreeInterpreter::__construct PHP Method

__construct() public method

public __construct ( callable $fnDispatcher = null )
$fnDispatcher callable Function dispatching function that accepts a function name argument and an array of function arguments and returns the result.
    public function __construct(callable $fnDispatcher = null)
    {
        $this->fnDispatcher = $fnDispatcher ?: FnDispatcher::getInstance();
    }