lib/helpers/Url.php
function getTo(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'url', ['scheme' => false]);
      return UrlHelper::to($args['url'], $args['scheme']);
    };
  }
function getTo(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'url', ['scheme' => false]);
      return UrlHelper::to($args['url'], $args['scheme']);
    };
  }
function getTo ( ) : \ Closure { return function ( $ value , \ Mustache_LambdaHelper $ helper ) { $ args = $ this -> parseArguments ( $ helper -> render ( $ value ) , 'url' , [ 'scheme' => false ] ) ; return UrlHelper :: to ( $ args [ 'url' ] , $ args [ 'scheme' ] ) ; } ; }
Returns a function creating a URL based on the given parameters.
@return \Closure A function creating a URL based on the given parameters.
Returns a function creating a URL based on the given parameters .