public function execute(string $name, array $data, \BearFramework\App\Response $response): string
    {
        if (isset($this->callbacks[$name])) {
            return (string) call_user_func($this->callbacks[$name], $data, $response);
        }
        return '';
    }
public function execute(string $name, array $data, \BearFramework\App\Response $response): string
    {
        if (isset($this->callbacks[$name])) {
            return (string) call_user_func($this->callbacks[$name], $data, $response);
        }
        return '';
    }
public function execute ( string $ name , array $ data , \ BearFramework \ App \ Response $ response ) : string { if ( isset ( $ this -> callbacks [ $ name ] ) ) { return ( string ) call_user_func ( $ this -> callbacks [ $ name ] , $ data , $ response ) ; } return '' ; }
Executes the callback for the name specified

@param string $name The name of the callback
@param array $data The data that will be passed to the callback
@param \BearFramework\App\Response $response The response object that will be passed to the callback
@return string Returns the callback result
Executes the callback for the name specified