atelierspierrot/mvc-fundamental

View on GitHub
phpdoc/MVCFundamental/FrontController.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="robots" content="index, follow, all" />
    <title>MVCFundamental\FrontController | MVC Fundamental</title>

            <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="../css/bootstrap-theme.min.css">
        <link rel="stylesheet" type="text/css" href="../css/sami.css">
        <script src="../js/jquery-1.11.1.min.js"></script>
        <script src="../js/bootstrap.min.js"></script>
        <script src="../js/typeahead.min.js"></script>
        <script src="../sami.js"></script>
        <meta name="MobileOptimized" content="width">
        <meta name="HandheldFriendly" content="true">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
    
    
    </head>

    <body id="class" data-name="class:MVCFundamental_FrontController" data-root-path="../">
            <div id="content">
        <div id="left-column">
                <div id="control-panel">
                <form id="search-form" action="../search.html" method="GET">
            <span class="glyphicon glyphicon-search"></span>
            <input name="search"
                   class="typeahead form-control"
                   type="search"
                   placeholder="Search">
        </form>
    </div>

                <div id="api-tree"></div>

        </div>
        <div id="right-column">
                <nav id="site-nav" class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="../index.html">MVC Fundamental</a>
            </div>
            <div class="collapse navbar-collapse" id="navbar-elements">
                <ul class="nav navbar-nav">
                    <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>
                    <li><a href="../search.html">Search</a></li>
                </ul>
            </div>
        </div>
    </nav>

                        <div class="namespace-breadcrumbs">
            <ol class="breadcrumb">
                <li><span class="label label-default">class</span></li>
                                                            <li><a href="../MVCFundamental.html">MVCFundamental</a></li>
    
                <li>FrontController</li>
            </ol>
        </div>
                <div id="page-content">
                
    <div class="page-header">
        <h1>FrontController</h1>
    </div>

    <p>    class
    <strong>FrontController</strong>        implements
        <a href="../MVCFundamental/Interfaces/FrontControllerInterface.html"><abbr title="MVCFundamental\Interfaces\FrontControllerInterface">FrontControllerInterface</abbr></a>
</p>

            <div class="description">
            <p>The default FrontController</p>                    </div>
    
            <h2>Traits</h2>

        
    <div class="container-fluid underlined">
                    <div class="row">
                <div class="col-md-6">
                                            <abbr title="Patterns\Traits\OptionableTrait">Patterns\Traits\OptionableTrait</abbr>
                                    </div>
                <div class="col-md-6">
                    

                </div>
            </div>
                    <div class="row">
                <div class="col-md-6">
                                            <abbr title="Patterns\Traits\SingletonTrait">Patterns\Traits\SingletonTrait</abbr>
                                    </div>
                <div class="col-md-6">
                    

                </div>
            </div>
                    <div class="row">
                <div class="col-md-6">
                                            <a href="../MVCFundamental/Commons/ServiceContainerProviderTrait.html"><abbr title="MVCFundamental\Commons\ServiceContainerProviderTrait">MVCFundamental\Commons\ServiceContainerProviderTrait</abbr></a>
                                    </div>
                <div class="col-md-6">
                    ServiceContainerProviderTrait
                </div>
            </div>
            </div>
    
    
    
            <h2>Methods</h2>

            <div class="container-fluid underlined">
                    <div class="row">
                <div class="col-md-2 type">
                    
    mixed
                </div>
                <div class="col-md-8 type">
                    <a href="#method___call">__call</a>(
    string $name, 
    array $arguments)
                                            <p>This must allow some shortcuts to access a service</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../MVCFundamental/Commons/ServiceContainerProviderTrait.html#method___call"><abbr title="MVCFundamental\Commons\ServiceContainerProviderTrait">ServiceContainerProviderTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;
    mixed
                </div>
                <div class="col-md-8 type">
                    <a href="#method___callStatic">__callStatic</a>(
    string $name, 
    array $arguments)
                                            <p>This must allow some shortcuts to access a service</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../MVCFundamental/Commons/ServiceContainerProviderTrait.html#method___callStatic"><abbr title="MVCFundamental\Commons\ServiceContainerProviderTrait">ServiceContainerProviderTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    
                </div>
                <div class="col-md-8 type">
                    <a href="#method___construct">__construct</a>(
    array $options = array())
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    <abbr title="MVCFundamental\$this">$this</abbr>
                </div>
                <div class="col-md-8 type">
                    <a href="#method_boot">boot</a>()
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isMode">isMode</a>(
    string $mode)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    <abbr title="MVCFundamental\$this">$this</abbr>
                </div>
                <div class="col-md-8 type">
                    <a href="#method_setOptions">setOptions</a>(
    array $options)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_run">run</a>(
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\RequestInterface">RequestInterface</abbr> $request = null)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    <a href="../MVCFundamental/Interfaces/ResponseInterface.html"><abbr title="MVCFundamental\Interfaces\ResponseInterface">ResponseInterface</abbr></a>
                </div>
                <div class="col-md-8 type">
                    <a href="#method_handle">handle</a>(
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\RequestInterface">RequestInterface</abbr> $request = null)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    mixed
                </div>
                <div class="col-md-8 type">
                    <a href="#method_send">send</a>(
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\ResponseInterface">ResponseInterface</abbr> $response = null)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_addRoute">addRoute</a>(
    string $route, 
    callable $callback, 
    string $method = &#039;get&#039;)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    string
                </div>
                <div class="col-md-8 type">
                    <a href="#method_render">render</a>(
    string $view_file, 
    array $params = array(), 
    string $type = &#039;global&#039;)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    string
                </div>
                <div class="col-md-8 type">
                    <a href="#method_callRoute">callRoute</a>(
    string $route, 
    array $arguments = array(), 
    string $method = &#039;get&#039;)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    string
                </div>
                <div class="col-md-8 type">
                    <a href="#method_callControllerAction">callControllerAction</a>(
    null|string $controller = null, 
    null|string $action = null, 
    array $arguments = array())
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_error">error</a>(
    string $message, 
    int $status = 500, 
    int $code, 
    string $filename = __FILE__, 
    int $lineno = __LINE__)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_redirect">redirect</a>(
    string $url, 
    bool $follow = false)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_on">on</a>(
    string $event, 
    callable $callback)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_off">off</a>(
    string $event, 
    callable $callback)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_trigger">trigger</a>(
    string $event, 
    mixed $subject = null)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
            </div>


        <h2>Details</h2>

            <div id="method-details">
                    <div class="method-item">
                    <h3 id="method___call">
        <div class="location">in 
    <a href="../MVCFundamental/Commons/ServiceContainerProviderTrait.html#method___call"><abbr title="MVCFundamental\Commons\ServiceContainerProviderTrait">ServiceContainerProviderTrait</abbr></a> at line 45</div>
        <code>                    
    mixed
    <strong>__call</strong>(
    string $name, 
    array $arguments)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>This must allow some shortcuts to access a service</p>                                </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$name</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    array</td>
                <td>$arguments</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    mixed</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___callStatic">
        <div class="location">in 
    <a href="../MVCFundamental/Commons/ServiceContainerProviderTrait.html#method___callStatic"><abbr title="MVCFundamental\Commons\ServiceContainerProviderTrait">ServiceContainerProviderTrait</abbr></a> at line 57</div>
        <code>        static            
    mixed
    <strong>__callStatic</strong>(
    string $name, 
    array $arguments)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>This must allow some shortcuts to access a service</p>                                </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$name</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    array</td>
                <td>$arguments</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    mixed</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___construct">
        <div class="location">at line 105</div>
        <code>                    
    
    <strong>__construct</strong>(
    array $options = array())</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    array</td>
                <td>$options</td>
                <td>
</td>
            </tr>
            </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_boot">
        <div class="location">at line 116</div>
        <code>                    
    <abbr title="MVCFundamental\$this">$this</abbr>
    <strong>boot</strong>()</code>
    </h3>
    <div class="details">
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    <abbr title="MVCFundamental\$this">$this</abbr></td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isMode">
        <div class="location">at line 154</div>
        <code>                    
    bool
    <strong>isMode</strong>(
    string $mode)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$mode</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_setOptions">
        <div class="location">at line 170</div>
        <code>                    
    <abbr title="MVCFundamental\$this">$this</abbr>
    <strong>setOptions</strong>(
    array $options)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    array</td>
                <td>$options</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    <abbr title="MVCFundamental\$this">$this</abbr></td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_run">
        <div class="location">at line 186</div>
        <code>                    
    void
    <strong>run</strong>(
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\RequestInterface">RequestInterface</abbr> $request = null)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\RequestInterface">RequestInterface</abbr></td>
                <td>$request</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a href="../MVCFundamental/Exception/Exception.html"><abbr title="MVCFundamental\Exception\Exception">Exception</abbr></a></td>
                <td>
</td>
            </tr>
                    <tr>
                <td><a href="../MVCFundamental/Exception/NotFoundException.html"><abbr title="MVCFundamental\Exception\NotFoundException">NotFoundException</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_handle">
        <div class="location">at line 198</div>
        <code>                    
    <a href="../MVCFundamental/Interfaces/ResponseInterface.html"><abbr title="MVCFundamental\Interfaces\ResponseInterface">ResponseInterface</abbr></a>
    <strong>handle</strong>(
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\RequestInterface">RequestInterface</abbr> $request = null)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\RequestInterface">RequestInterface</abbr></td>
                <td>$request</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    <a href="../MVCFundamental/Interfaces/ResponseInterface.html"><abbr title="MVCFundamental\Interfaces\ResponseInterface">ResponseInterface</abbr></a></td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_send">
        <div class="location">at line 221</div>
        <code>                    
    mixed
    <strong>send</strong>(
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\ResponseInterface">ResponseInterface</abbr> $response = null)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    <abbr title="MVCFundamental\Interfaces\MVCFundamental\Interfaces\ResponseInterface">ResponseInterface</abbr></td>
                <td>$response</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    mixed</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_addRoute">
        <div class="location">at line 236</div>
        <code>                    
    void
    <strong>addRoute</strong>(
    string $route, 
    callable $callback, 
    string $method = &#039;get&#039;)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$route</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    callable</td>
                <td>$callback</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    string</td>
                <td>$method</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_render">
        <div class="location">at line 250</div>
        <code>                    
    string
    <strong>render</strong>(
    string $view_file, 
    array $params = array(), 
    string $type = &#039;global&#039;)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$view_file</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    array</td>
                <td>$params</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    string</td>
                <td>$type</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    string</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_callRoute">
        <div class="location">at line 265</div>
        <code>                    
    string
    <strong>callRoute</strong>(
    string $route, 
    array $arguments = array(), 
    string $method = &#039;get&#039;)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$route</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    array</td>
                <td>$arguments</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    string</td>
                <td>$method</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    string</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a href="../MVCFundamental/Exception/Exception.html"><abbr title="MVCFundamental\Exception\Exception">Exception</abbr></a></td>
                <td>
</td>
            </tr>
                    <tr>
                <td><a href="../MVCFundamental/Exception/InternalServerErrorException.html"><abbr title="MVCFundamental\Exception\InternalServerErrorException">InternalServerErrorException</abbr></a></td>
                <td>
</td>
            </tr>
                    <tr>
                <td><a href="../MVCFundamental/Exception/NotFoundException.html"><abbr title="MVCFundamental\Exception\NotFoundException">NotFoundException</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_callControllerAction">
        <div class="location">at line 359</div>
        <code>                    
    string
    <strong>callControllerAction</strong>(
    null|string $controller = null, 
    null|string $action = null, 
    array $arguments = array())</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    null|string</td>
                <td>$controller</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    null|string</td>
                <td>$action</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    array</td>
                <td>$arguments</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    string</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a href="../MVCFundamental/Exception/InternalServerErrorException.html"><abbr title="MVCFundamental\Exception\InternalServerErrorException">InternalServerErrorException</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_error">
        <div class="location">at line 431</div>
        <code>                    
    void
    <strong>error</strong>(
    string $message, 
    int $status = 500, 
    int $code, 
    string $filename = __FILE__, 
    int $lineno = __LINE__)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$message</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    int</td>
                <td>$status</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    int</td>
                <td>$code</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    string</td>
                <td>$filename</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    int</td>
                <td>$lineno</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a href="../MVCFundamental/Exception/AccessForbiddenException.html"><abbr title="MVCFundamental\Exception\AccessForbiddenException">AccessForbiddenException</abbr></a></td>
                <td>
</td>
            </tr>
                    <tr>
                <td><a href="../MVCFundamental/Exception/ErrorException.html"><abbr title="MVCFundamental\Exception\ErrorException">ErrorException</abbr></a></td>
                <td>
</td>
            </tr>
                    <tr>
                <td><a href="../MVCFundamental/Exception/InternalServerErrorException.html"><abbr title="MVCFundamental\Exception\InternalServerErrorException">InternalServerErrorException</abbr></a></td>
                <td>
</td>
            </tr>
                    <tr>
                <td><a href="../MVCFundamental/Exception/NotFoundException.html"><abbr title="MVCFundamental\Exception\NotFoundException">NotFoundException</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_redirect">
        <div class="location">at line 455</div>
        <code>                    
    void
    <strong>redirect</strong>(
    string $url, 
    bool $follow = false)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$url</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    bool</td>
                <td>$follow</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_on">
        <div class="location">at line 475</div>
        <code>                    
    void
    <strong>on</strong>(
    string $event, 
    callable $callback)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$event</td>
                <td>The event name</td>
            </tr>
                    <tr>
                <td>
    callable</td>
                <td>$callback</td>
                <td>The event callback</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/Exception"><abbr title="Exception">Exception</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_off">
        <div class="location">at line 493</div>
        <code>                    
    void
    <strong>off</strong>(
    string $event, 
    callable $callback)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$event</td>
                <td>The event name</td>
            </tr>
                    <tr>
                <td>
    callable</td>
                <td>$callback</td>
                <td>The event callback</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/Exception"><abbr title="Exception">Exception</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_trigger">
        <div class="location">at line 511</div>
        <code>                    
    void
    <strong>trigger</strong>(
    string $event, 
    mixed $subject = null)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$event</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    mixed</td>
                <td>$subject</td>
                <td>The subject of the event</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/Exception"><abbr title="Exception">Exception</abbr></a></td>
                <td>
</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
            </div>

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

        </div>
    </div>
    </body>

</html>