Пример #1
0
 /**
  * Returns a function returning the home URL.
  * @return \Closure A function returning the home URL.
  */
 public function getHome() : \Closure
 {
     return function ($value, \Mustache_LambdaHelper $helper) {
         return UrlHelper::home($helper->render($value) ?: false);
     };
 }