PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
woocommerce-pos / vendor / mustache / mustache / src / Exception / SyntaxException.php

SyntaxException.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.20, at vendor/mustache/mustache/src/Exception/SyntaxException.php

41 lines 756 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-2026 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 namespace Mustache\Exception;
13
14 use Mustache\Exception;
15
16 /**
17 * Mustache syntax exception.
18 */
19 class SyntaxException extends LogicException implements Exception
20 {
21 protected $token;
22
23 /**
24 * @param string $msg
25 * @param Exception $previous
26 */
27 public function __construct($msg, array $token, $previous = null)
28 {
29 $this->token = $token;
30 parent::__construct($msg, 0, $previous);
31 }
32
33 /**
34 * @return array
35 */
36 public function getToken()
37 {
38 return $this->token;
39 }
40 }
41