PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.9.6
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.9.6
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / assets / lib / Mustache / Exception / UnknownHelperException.php

UnknownHelperException.php in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.9.6, at assets/lib/Mustache/Exception/UnknownHelperException.php

39 lines 965 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of Mustache.php.
5 *
6 * (c) 2010-2017 Justin Hileman
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 /**
13 * Unknown helper exception.
14 */
15 class Mustache_Exception_UnknownHelperException extends InvalidArgumentException implements Mustache_Exception
16 {
17 protected $helperName;
18
19 /**
20 * @param string $helperName
21 * @param Exception $previous
22 */
23 public function __construct($helperName, Exception $previous = null)
24 {
25 $this->helperName = $helperName;
26 $message = sprintf('Unknown helper: %s', $helperName);
27 if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28 parent::__construct($message, 0, $previous);
29 } else {
30 parent::__construct($message); // @codeCoverageIgnore
31 }
32 }
33
34 public function getHelperName()
35 {
36 return $this->helperName;
37 }
38 }
39