<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="robots" content="index, follow, all" />
        <title>Thelia\Action\HttpException | </title>
                    <link rel="stylesheet" type="text/css" href="../../stylesheet.css">
                            </head>
        <body id="class">
            <div class="header">
        <ul>
            <li><a href="../../classes.html">Classes</a></li>
                            <li><a href="../../namespaces.html">Namespaces</a></li>
                        <li><a href="../../interfaces.html">Interfaces</a></li>
            <li><a href="../../traits.html">Traits</a></li>
            <li><a href="../../doc-index.html">Index</a></li>
            
        </ul>

        <div id="title"></div>

            <div class="type">Class</div>
    <h1><a href="../../Thelia/Action.html">Thelia\Action</a>\HttpException</h1>
    </div>
        <div class="content">
                <p>    class
    <strong>HttpException</strong>        extends <a href="../../Thelia/Action/BaseAction.html"><abbr title="Thelia\Action\BaseAction">BaseAction</abbr></a>        implements
        <abbr title="Symfony\Component\EventDispatcher\EventSubscriberInterface">EventSubscriberInterface</abbr></p>

            <div class="description">
            <p>Class HttpException</p>
            <p>
</p>
        </div>
    
    
    
            <h2>Methods</h2>

            <table>
                    <tr>
                <td class="type">
                    
                </td>
                <td class="last">
                    <a href="#method___construct">__construct</a>(<a href="../../Thelia/Core/Template/ParserInterface.html"><abbr title="Thelia\Core\Template\ParserInterface">ParserInterface</abbr></a> $parser)
                    <p>
</p>
                </td>
                <td></td>
            </tr>
                    <tr>
                <td class="type">
                    
                </td>
                <td class="last">
                    <a href="#method_checkHttpException">checkHttpException</a>(<abbr title="Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent">GetResponseForExceptionEvent</abbr> $event)
                    <p>
</p>
                </td>
                <td></td>
            </tr>
                    <tr>
                <td class="type">
                    static&nbsp;array
                </td>
                <td class="last">
                    <a href="#method_getSubscribedEvents">getSubscribedEvents</a>()
                    <p>Returns an array of event names this subscriber wants to listen to.</p>
                </td>
                <td></td>
            </tr>
            </table>


        <h2>Details</h2>

                        <h3 id="method___construct">
        <div class="location">at line 49</div>
        <code>            public            
    <strong>__construct</strong>(<a href="../../Thelia/Core/Template/ParserInterface.html"><abbr title="Thelia\Core\Template\ParserInterface">ParserInterface</abbr></a> $parser)</code>
    </h3>
    <div class="details">
        <p>
</p>
        <p>
</p>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table>
                    <tr>
                <td><a href="../../Thelia/Core/Template/ParserInterface.html"><abbr title="Thelia\Core\Template\ParserInterface">ParserInterface</abbr></a></td>
                <td>$parser</td>
                <td>
</td>
            </tr>
            </table>

            
            
            
                    </div>
    </div>

                <h3 id="method_checkHttpException">
        <div class="location">at line 54</div>
        <code>            public            
    <strong>checkHttpException</strong>(<abbr title="Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent">GetResponseForExceptionEvent</abbr> $event)</code>
    </h3>
    <div class="details">
        <p>
</p>
        <p>
</p>
        <div class="tags">
                            <h4>Parameters</h4>

                    <table>
                    <tr>
                <td><abbr title="Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent">GetResponseForExceptionEvent</abbr></td>
                <td>$event</td>
                <td>
</td>
            </tr>
            </table>

            
            
            
                    </div>
    </div>

                <h3 id="method_getSubscribedEvents">
        <div class="location">at line 102</div>
        <code>        static    public            array
    <strong>getSubscribedEvents</strong>()</code>
    </h3>
    <div class="details">
        <p>Returns an array of event names this subscriber wants to listen to.</p>
        <p>The array keys are event names and the value can be:</p>

<ul>
<li>The method name to call (priority defaults to 0)</li>
<li>An array composed of the method name to call and the priority</li>
<li>An array of arrays composed of the method names to call and respective
priorities, or 0 if unset</li>
</ul>

<p>For instance:</p>

<ul>
<li>array('eventName' => 'methodName')</li>
<li>array('eventName' => array('methodName', $priority))</li>
<li>array('eventName' => array(array('methodName1', $priority), array('methodName2'))</li>
</ul>
</p>
        <div class="tags">
            
                            <h4>Return Value</h4>

                    <table>
        <tr>
            <td>array</td>
            <td>The event names to listen to</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

    
            </div>
            <div id="footer">
        Generated by <a href="http://sami.sensiolabs.org/" target="_top">Sami, the API Documentation Generator</a>.
    </div>
    </body>
</html>
