# getresponse/1.5.6/includes/classes/Mustache/Exception/SyntaxException.php

GetResponse Forms by Optin Cat, version 1.5.6. 37 lines.

- Page: https://pluginprobe.com/plugins/getresponse/1.5.6/code/includes/classes/Mustache/Exception/SyntaxException.php
- Raw: https://pluginprobe.com/plugins/getresponse/1.5.6/raw/includes/classes/Mustache/Exception/SyntaxException.php
- Modified: 2016-05-06T22:35:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/getresponse/1.5.6/code/includes/classes/Mustache/Exception/SyntaxException.php#L10-L20`.

```php
<?php

/*
 * This file is part of Mustache.php.
 *
 * (c) 2010-2014 Justin Hileman
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Mustache syntax exception.
 */
class Mustache_Exception_SyntaxException extends LogicException implements Mustache_Exception
{
    protected $token;

    /**
     * @param string $msg
     * @param array  $token
     */
    public function __construct($msg, array $token)
    {
        $this->token = $token;
        parent::__construct($msg);
    }

    /**
     * @return array
     */
    public function getToken()
    {
        return $this->token;
    }
}

```
