text: 
  window.projectVersion = 'v0.6.1';
  
  (function(root) {
  
      var bhIndex = null;
      var rootPath = '';
      var treeHtml = '        <ul>                <li data-name="namespace:SehrGut" class="opened">                    <div style="padding-left:0px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut.html">SehrGut</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="namespace:SehrGut_Laravel5_Api" class="opened">                    <div style="padding-left:18px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api.html">Laravel5_Api</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="namespace:SehrGut_Laravel5_Api_Exceptions" >                    <div style="padding-left:36px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api/Exceptions.html">Exceptions</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="namespace:SehrGut_Laravel5_Api_Exceptions_Http" >                    <div style="padding-left:54px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api/Exceptions/Http.html">Http</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:SehrGut_Laravel5_Api_Exceptions_Http_HttpException" >                    <div style="padding-left:80px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Exceptions/Http/HttpException.html">HttpException</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Exceptions_Http_NotFound" >                    <div style="padding-left:80px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Exceptions/Http/NotFound.html">NotFound</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:SehrGut_Laravel5_Api_Exceptions_Validator" >                    <div style="padding-left:54px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api/Exceptions/Validator.html">Validator</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:SehrGut_Laravel5_Api_Exceptions_Validator_InvalidInput" >                    <div style="padding-left:80px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Exceptions/Validator/InvalidInput.html">InvalidInput</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Exceptions_Validator_ValidatorException" >                    <div style="padding-left:80px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Exceptions/Validator/ValidatorException.html">ValidatorException</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Exceptions_Exception" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Exceptions/Exception.html">Exception</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Exceptions_Unauthorized" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Exceptions/Unauthorized.html">Unauthorized</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:SehrGut_Laravel5_Api_Hooks" >                    <div style="padding-left:36px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api/Hooks.html">Hooks</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:SehrGut_Laravel5_Api_Hooks_AdaptCollectionQuery" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html">AdaptCollectionQuery</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_AdaptResourceQuery" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html">AdaptResourceQuery</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_AfterSave" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/AfterSave.html">AfterSave</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_AuthorizeAction" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html">AuthorizeAction</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_AuthorizeResource" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html">AuthorizeResource</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_BeforeCreate" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/BeforeCreate.html">BeforeCreate</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_BeforeRespond" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/BeforeRespond.html">BeforeRespond</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_BeforeSave" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/BeforeSave.html">BeforeSave</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_BeforeUpdate" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html">BeforeUpdate</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_FormatCollection" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/FormatCollection.html">FormatCollection</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_FormatResource" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/FormatResource.html">FormatResource</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_Hook" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/Hook.html">Hook</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Hooks_TestHook" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Hooks/TestHook.html">TestHook</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:SehrGut_Laravel5_Api_Plugins" >                    <div style="padding-left:36px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api/Plugins.html">Plugins</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:SehrGut_Laravel5_Api_Plugins_Authorization" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Plugins/Authorization.html">Authorization</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Plugins_Paginator" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Plugins/Paginator.html">Paginator</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Plugins_Plugin" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Plugins/Plugin.html">Plugin</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Plugins_RelationSplitter" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Plugins/RelationSplitter.html">RelationSplitter</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Plugins_SearchFilter" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Plugins/SearchFilter.html">SearchFilter</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Plugins_TestPlugin" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Plugins/TestPlugin.html">TestPlugin</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="namespace:SehrGut_Laravel5_Api_Transformers" >                    <div style="padding-left:36px" class="hd">                        <span class="glyphicon glyphicon-play"></span><a href="SehrGut/Laravel5_Api/Transformers.html">Transformers</a>                    </div>                    <div class="bd">                                <ul>                <li data-name="class:SehrGut_Laravel5_Api_Transformers_Transformer" >                    <div style="padding-left:62px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Transformers/Transformer.html">Transformer</a>                    </div>                </li>                </ul></div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Context" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Context.html">Context</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Controller" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Controller.html">Controller</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_ModelMapping" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/ModelMapping.html">ModelMapping</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_PluginLoader" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/PluginLoader.html">PluginLoader</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_RequestAdapter" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/RequestAdapter.html">RequestAdapter</a>                    </div>                </li>                            <li data-name="class:SehrGut_Laravel5_Api_Validator" >                    <div style="padding-left:44px" class="hd leaf">                        <a href="SehrGut/Laravel5_Api/Validator.html">Validator</a>                    </div>                </li>                </ul></div>                </li>                </ul></div>                </li>                </ul>';
  
      var searchTypeClasses = {
          'Namespace': 'label-default',
          'Class': 'label-info',
          'Interface': 'label-primary',
          'Trait': 'label-success',
          'Method': 'label-danger',
          '_': 'label-warning'
      };
  
      var searchIndex = [
                      
              {"type": "Namespace", "link": "SehrGut.html", "name": "SehrGut", "doc": "Namespace SehrGut"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api.html", "name": "SehrGut\\Laravel5_Api", "doc": "Namespace SehrGut\\Laravel5_Api"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api/Exceptions.html", "name": "SehrGut\\Laravel5_Api\\Exceptions", "doc": "Namespace SehrGut\\Laravel5_Api\\Exceptions"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api/Exceptions/Http.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Http", "doc": "Namespace SehrGut\\Laravel5_Api\\Exceptions\\Http"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api/Exceptions/Validator.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Validator", "doc": "Namespace SehrGut\\Laravel5_Api\\Exceptions\\Validator"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api/Hooks.html", "name": "SehrGut\\Laravel5_Api\\Hooks", "doc": "Namespace SehrGut\\Laravel5_Api\\Hooks"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api/Plugins.html", "name": "SehrGut\\Laravel5_Api\\Plugins", "doc": "Namespace SehrGut\\Laravel5_Api\\Plugins"},{"type": "Namespace", "link": "SehrGut/Laravel5_Api/Transformers.html", "name": "SehrGut\\Laravel5_Api\\Transformers", "doc": "Namespace SehrGut\\Laravel5_Api\\Transformers"},
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptCollectionQuery", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AdaptCollectionQuery", "fromLink": "SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html#method_adaptCollectionQuery", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptCollectionQuery::adaptCollectionQuery", "doc": "&quot;This hook receives the query on \&quot;index requests\&quot; after the request\nparameters have been applied, before the records are retrieved.&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptResourceQuery", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AdaptResourceQuery", "fromLink": "SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html#method_adaptResourceQuery", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptResourceQuery::adaptResourceQuery", "doc": "&quot;This hook receives the query on \&quot;single resource\&quot; requests after the\nrequest parameters have been applied, before the record is retrieved.&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AfterSave.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AfterSave", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AfterSave", "fromLink": "SehrGut/Laravel5_Api/Hooks/AfterSave.html", "link": "SehrGut/Laravel5_Api/Hooks/AfterSave.html#method_afterSave", "name": "SehrGut\\Laravel5_Api\\Hooks\\AfterSave::afterSave", "doc": "&quot;This Hook is called after a resource is saved (on store &amp;amp; update actions).&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeAction", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeAction", "fromLink": "SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html#method_authorizeAction", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeAction::authorizeAction", "doc": "&quot;Hook in here to check authorization for an action in general\n(before any records are fetched from the db).&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeResource", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeResource", "fromLink": "SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html#method_authorizeResource", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeResource::authorizeResource", "doc": "&quot;Hook in here to check authorization for a single resource (db record).&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeCreate.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeCreate", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeCreate", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeCreate.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeCreate.html#method_beforeCreate", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeCreate::beforeCreate", "doc": "&quot;This Hook is called before a resource created (on store action).&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeRespond.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeRespond", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeRespond", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeRespond.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeRespond.html#method_beforeRespond", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeRespond::beforeRespond", "doc": "&quot;Hook in here to manipulate the response headers or other stuff before responding.&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeSave.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeSave", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeSave", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeSave.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeSave.html#method_beforeSave", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeSave::beforeSave", "doc": "&quot;This Hook is called before a resource is saved (on store &amp;amp; update actions).&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeUpdate", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeUpdate", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html#method_beforeUpdate", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeUpdate::beforeUpdate", "doc": "&quot;This Hook is called before a resource is update (on update action).&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatCollection.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatCollection", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\FormatCollection", "fromLink": "SehrGut/Laravel5_Api/Hooks/FormatCollection.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatCollection.html#method_formatCollection", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatCollection::formatCollection", "doc": "&quot;This hook receives a Collection of resources before they are transformed.&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatResource.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatResource", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\FormatResource", "fromLink": "SehrGut/Laravel5_Api/Hooks/FormatResource.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatResource.html#method_formatResource", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatResource::formatResource", "doc": "&quot;This hook receives a single resource before it is transformed.&quot;"},
              
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/Hook.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\Hook", "doc": "&quot;Base hook as a common basis to check against.&quot;"},
                      
              {"type": "Interface", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/TestHook.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\TestHook", "doc": "&quot;A dummy hook for testing that is regularly not called from the controller.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\TestHook", "fromLink": "SehrGut/Laravel5_Api/Hooks/TestHook.html", "link": "SehrGut/Laravel5_Api/Hooks/TestHook.html#method_testHook", "name": "SehrGut\\Laravel5_Api\\Hooks\\TestHook::testHook", "doc": "&quot;Just pass in anything here\u2026.&quot;"},
              
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api", "fromLink": "SehrGut/Laravel5_Api.html", "link": "SehrGut/Laravel5_Api/Context.html", "name": "SehrGut\\Laravel5_Api\\Context", "doc": "&quot;A state container for the controller and for interaction through plugins.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Context", "fromLink": "SehrGut/Laravel5_Api/Context.html", "link": "SehrGut/Laravel5_Api/Context.html#method___construct", "name": "SehrGut\\Laravel5_Api\\Context::__construct", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Context", "fromLink": "SehrGut/Laravel5_Api/Context.html", "link": "SehrGut/Laravel5_Api/Context.html#method___set", "name": "SehrGut\\Laravel5_Api\\Context::__set", "doc": "&quot;Handle write attempts to protected \/ missing properties.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Context", "fromLink": "SehrGut/Laravel5_Api/Context.html", "link": "SehrGut/Laravel5_Api/Context.html#method___get", "name": "SehrGut\\Laravel5_Api\\Context::__get", "doc": "&quot;Handle read attempts to non-existing or protected properties.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api", "fromLink": "SehrGut/Laravel5_Api.html", "link": "SehrGut/Laravel5_Api/Controller.html", "name": "SehrGut\\Laravel5_Api\\Controller", "doc": "&quot;The main Controller to inherit from.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method___construct", "name": "SehrGut\\Laravel5_Api\\Controller::__construct", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_configurePlugin", "name": "SehrGut\\Laravel5_Api\\Controller::configurePlugin", "doc": "&quot;Proxy: Pass configuration options to a plugin on the loader.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_applyHooks", "name": "SehrGut\\Laravel5_Api\\Controller::applyHooks", "doc": "&quot;Proxy: Run &lt;code&gt;$argument&lt;\/code&gt; through all plugins registered for &lt;code&gt;$hook&lt;\/code&gt; and return their result.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_index", "name": "SehrGut\\Laravel5_Api\\Controller::index", "doc": "&quot;Request Handler: List all resources.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_store", "name": "SehrGut\\Laravel5_Api\\Controller::store", "doc": "&quot;Request Handler: Create a new resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_show", "name": "SehrGut\\Laravel5_Api\\Controller::show", "doc": "&quot;Request Handler: Show a single resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_update", "name": "SehrGut\\Laravel5_Api\\Controller::update", "doc": "&quot;Request Handler: Update a resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_destroy", "name": "SehrGut\\Laravel5_Api\\Controller::destroy", "doc": "&quot;Request Handler: Delete a resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_getResource", "name": "SehrGut\\Laravel5_Api\\Controller::getResource", "doc": "&quot;Fetch a single record from the DB and store it to $this-&gt;context-&gt;resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_getCollection", "name": "SehrGut\\Laravel5_Api\\Controller::getCollection", "doc": "&quot;Fetch a Collection of Resources from the databse and store it to $this-&gt;context-&gt;collection.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_formatResource", "name": "SehrGut\\Laravel5_Api\\Controller::formatResource", "doc": "&quot;Populate payload, applying hooks before transforming.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_formatCollection", "name": "SehrGut\\Laravel5_Api\\Controller::formatCollection", "doc": "&quot;Populate payload, applying hooks before transforming.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_transformPayload", "name": "SehrGut\\Laravel5_Api\\Controller::transformPayload", "doc": "&quot;Apply transformers recusively to the payload.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_filterByRequest", "name": "SehrGut\\Laravel5_Api\\Controller::filterByRequest", "doc": "&quot;Apply filters based on the $key_mapping. If a key is present in the\nrequest, an appropriate where clause will be added to the query.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_gatherInput", "name": "SehrGut\\Laravel5_Api\\Controller::gatherInput", "doc": "&quot;Get the request data from the adapter and store it to $this-&gt;context-&gt;input.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_validateInput", "name": "SehrGut\\Laravel5_Api\\Controller::validateInput", "doc": "&quot;Validate the input data using the appropriate validator.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_createResource", "name": "SehrGut\\Laravel5_Api\\Controller::createResource", "doc": "&quot;Create a new instance of the current Model, fill it with the input data,\nsave it tothe database and load it anew to get all attributes populated.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_updateResource", "name": "SehrGut\\Laravel5_Api\\Controller::updateResource", "doc": "&quot;Update the resource with the input data.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_destroyResource", "name": "SehrGut\\Laravel5_Api\\Controller::destroyResource", "doc": "&quot;Delete the resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_makeResponse", "name": "SehrGut\\Laravel5_Api\\Controller::makeResponse", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_refreshResource", "name": "SehrGut\\Laravel5_Api\\Controller::refreshResource", "doc": "&quot;Load a fresh instance of the current resource from the database.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_makeModelMapping", "name": "SehrGut\\Laravel5_Api\\Controller::makeModelMapping", "doc": "&quot;Return a ModelMapping instance.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_makeRequestAdapter", "name": "SehrGut\\Laravel5_Api\\Controller::makeRequestAdapter", "doc": "&quot;Return a RequestAdapter instance.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_adaptRules", "name": "SehrGut\\Laravel5_Api\\Controller::adaptRules", "doc": "&quot;This is the place to manipulate the validation rules at runtime.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Controller", "fromLink": "SehrGut/Laravel5_Api/Controller.html", "link": "SehrGut/Laravel5_Api/Controller.html#method_afterConstruct", "name": "SehrGut\\Laravel5_Api\\Controller::afterConstruct", "doc": "&quot;Use this hook to apply custom logic after the controller instance has been created.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Exceptions", "fromLink": "SehrGut/Laravel5_Api/Exceptions.html", "link": "SehrGut/Laravel5_Api/Exceptions/Exception.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Exception", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Exception", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Exception.html", "link": "SehrGut/Laravel5_Api/Exceptions/Exception.html#method_errorResponse", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Exception::errorResponse", "doc": "&quot;Gather the message status and error and return\nthem as a formatted JSON response.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Exception", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Exception.html", "link": "SehrGut/Laravel5_Api/Exceptions/Exception.html#method_getStatus", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Exception::getStatus", "doc": "&quot;Get the HTTP status associated with this Exception (if applicable).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Http", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Http.html", "link": "SehrGut/Laravel5_Api/Exceptions/Http/HttpException.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Http\\HttpException", "doc": "&quot;&quot;"},
                      
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Http", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Http.html", "link": "SehrGut/Laravel5_Api/Exceptions/Http/NotFound.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Http\\NotFound", "doc": "&quot;&quot;"},
                      
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Exceptions", "fromLink": "SehrGut/Laravel5_Api/Exceptions.html", "link": "SehrGut/Laravel5_Api/Exceptions/Unauthorized.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Unauthorized", "doc": "&quot;&quot;"},
                      
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Validator", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Validator.html", "link": "SehrGut/Laravel5_Api/Exceptions/Validator/InvalidInput.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Validator\\InvalidInput", "doc": "&quot;&quot;"},
                      
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Validator", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Validator.html", "link": "SehrGut/Laravel5_Api/Exceptions/Validator/ValidatorException.html", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Validator\\ValidatorException", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Validator\\ValidatorException", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Validator/ValidatorException.html", "link": "SehrGut/Laravel5_Api/Exceptions/Validator/ValidatorException.html#method___construct", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Validator\\ValidatorException::__construct", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Exceptions\\Validator\\ValidatorException", "fromLink": "SehrGut/Laravel5_Api/Exceptions/Validator/ValidatorException.html", "link": "SehrGut/Laravel5_Api/Exceptions/Validator/ValidatorException.html#method_errorResponse", "name": "SehrGut\\Laravel5_Api\\Exceptions\\Validator\\ValidatorException::errorResponse", "doc": "&quot;Gather the message status and error and return\nthem as a formatted JSON response.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptCollectionQuery", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AdaptCollectionQuery", "fromLink": "SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptCollectionQuery.html#method_adaptCollectionQuery", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptCollectionQuery::adaptCollectionQuery", "doc": "&quot;This hook receives the query on \&quot;index requests\&quot; after the request\nparameters have been applied, before the records are retrieved.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptResourceQuery", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AdaptResourceQuery", "fromLink": "SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html", "link": "SehrGut/Laravel5_Api/Hooks/AdaptResourceQuery.html#method_adaptResourceQuery", "name": "SehrGut\\Laravel5_Api\\Hooks\\AdaptResourceQuery::adaptResourceQuery", "doc": "&quot;This hook receives the query on \&quot;single resource\&quot; requests after the\nrequest parameters have been applied, before the record is retrieved.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AfterSave.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AfterSave", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AfterSave", "fromLink": "SehrGut/Laravel5_Api/Hooks/AfterSave.html", "link": "SehrGut/Laravel5_Api/Hooks/AfterSave.html#method_afterSave", "name": "SehrGut\\Laravel5_Api\\Hooks\\AfterSave::afterSave", "doc": "&quot;This Hook is called after a resource is saved (on store &amp;amp; update actions).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeAction", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeAction", "fromLink": "SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeAction.html#method_authorizeAction", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeAction::authorizeAction", "doc": "&quot;Hook in here to check authorization for an action in general\n(before any records are fetched from the db).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeResource", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeResource", "fromLink": "SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html", "link": "SehrGut/Laravel5_Api/Hooks/AuthorizeResource.html#method_authorizeResource", "name": "SehrGut\\Laravel5_Api\\Hooks\\AuthorizeResource::authorizeResource", "doc": "&quot;Hook in here to check authorization for a single resource (db record).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeCreate.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeCreate", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeCreate", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeCreate.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeCreate.html#method_beforeCreate", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeCreate::beforeCreate", "doc": "&quot;This Hook is called before a resource created (on store action).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeRespond.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeRespond", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeRespond", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeRespond.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeRespond.html#method_beforeRespond", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeRespond::beforeRespond", "doc": "&quot;Hook in here to manipulate the response headers or other stuff before responding.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeSave.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeSave", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeSave", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeSave.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeSave.html#method_beforeSave", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeSave::beforeSave", "doc": "&quot;This Hook is called before a resource is saved (on store &amp;amp; update actions).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeUpdate", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\BeforeUpdate", "fromLink": "SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html", "link": "SehrGut/Laravel5_Api/Hooks/BeforeUpdate.html#method_beforeUpdate", "name": "SehrGut\\Laravel5_Api\\Hooks\\BeforeUpdate::beforeUpdate", "doc": "&quot;This Hook is called before a resource is update (on update action).&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatCollection.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatCollection", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\FormatCollection", "fromLink": "SehrGut/Laravel5_Api/Hooks/FormatCollection.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatCollection.html#method_formatCollection", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatCollection::formatCollection", "doc": "&quot;This hook receives a Collection of resources before they are transformed.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatResource.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatResource", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\FormatResource", "fromLink": "SehrGut/Laravel5_Api/Hooks/FormatResource.html", "link": "SehrGut/Laravel5_Api/Hooks/FormatResource.html#method_formatResource", "name": "SehrGut\\Laravel5_Api\\Hooks\\FormatResource::formatResource", "doc": "&quot;This hook receives a single resource before it is transformed.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/Hook.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\Hook", "doc": "&quot;Base hook as a common basis to check against.&quot;"},
                      
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Hooks", "fromLink": "SehrGut/Laravel5_Api/Hooks.html", "link": "SehrGut/Laravel5_Api/Hooks/TestHook.html", "name": "SehrGut\\Laravel5_Api\\Hooks\\TestHook", "doc": "&quot;A dummy hook for testing that is regularly not called from the controller.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Hooks\\TestHook", "fromLink": "SehrGut/Laravel5_Api/Hooks/TestHook.html", "link": "SehrGut/Laravel5_Api/Hooks/TestHook.html#method_testHook", "name": "SehrGut\\Laravel5_Api\\Hooks\\TestHook::testHook", "doc": "&quot;Just pass in anything here\u2026.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api", "fromLink": "SehrGut/Laravel5_Api.html", "link": "SehrGut/Laravel5_Api/ModelMapping.html", "name": "SehrGut\\Laravel5_Api\\ModelMapping", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\ModelMapping", "fromLink": "SehrGut/Laravel5_Api/ModelMapping.html", "link": "SehrGut/Laravel5_Api/ModelMapping.html#method_getTransformerFor", "name": "SehrGut\\Laravel5_Api\\ModelMapping::getTransformerFor", "doc": "&quot;Get the Transformer for a specific model.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\ModelMapping", "fromLink": "SehrGut/Laravel5_Api/ModelMapping.html", "link": "SehrGut/Laravel5_Api/ModelMapping.html#method_getValidatorFor", "name": "SehrGut\\Laravel5_Api\\ModelMapping::getValidatorFor", "doc": "&quot;Get the Validator for a specific model.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\ModelMapping", "fromLink": "SehrGut/Laravel5_Api/ModelMapping.html", "link": "SehrGut/Laravel5_Api/ModelMapping.html#method_getUrlFor", "name": "SehrGut\\Laravel5_Api\\ModelMapping::getUrlFor", "doc": "&quot;Get the url for a specific model.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api", "fromLink": "SehrGut/Laravel5_Api.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html", "name": "SehrGut\\Laravel5_Api\\PluginLoader", "doc": "&quot;Takes care of Controller Plugins loading, calling, configuring\u2026.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method___construct", "name": "SehrGut\\Laravel5_Api\\PluginLoader::__construct", "doc": "&quot;Construct a new instance.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_loadPlugins", "name": "SehrGut\\Laravel5_Api\\PluginLoader::loadPlugins", "doc": "&quot;Instantiate and remember Plugins of given types.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_loadPlugin", "name": "SehrGut\\Laravel5_Api\\PluginLoader::loadPlugin", "doc": "&quot;Instantiate and remember a single Plugin of given type.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_isLoaded", "name": "SehrGut\\Laravel5_Api\\PluginLoader::isLoaded", "doc": "&quot;Check if a Plugin was loaded already.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_configurePlugin", "name": "SehrGut\\Laravel5_Api\\PluginLoader::configurePlugin", "doc": "&quot;Pass configuration array to a plugin instance.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_applyHooks", "name": "SehrGut\\Laravel5_Api\\PluginLoader::applyHooks", "doc": "&quot;Pass the &lt;code&gt;$argument&lt;\/code&gt; to all plugins registered for &lt;code&gt;$hook&lt;\/code&gt;\nconsecutively and return the result of the last plugin.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_registerHooks", "name": "SehrGut\\Laravel5_Api\\PluginLoader::registerHooks", "doc": "&quot;Register hooks for given plugin type.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_registerHook", "name": "SehrGut\\Laravel5_Api\\PluginLoader::registerHook", "doc": "&quot;Register a plugin to a single hook.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_hookExists", "name": "SehrGut\\Laravel5_Api\\PluginLoader::hookExists", "doc": "&quot;Check if there are any Plugins registered on a hook.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_getPluginsForHook", "name": "SehrGut\\Laravel5_Api\\PluginLoader::getPluginsForHook", "doc": "&quot;Get all plugin instances for given hook in the order in which they were loaded.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_getPluginClassesForHook", "name": "SehrGut\\Laravel5_Api\\PluginLoader::getPluginClassesForHook", "doc": "&quot;Get all Plugin Types that are registered on given hook in the order they were loaded.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_getHookMethodName", "name": "SehrGut\\Laravel5_Api\\PluginLoader::getHookMethodName", "doc": "&quot;Turn the FQN of a hook Interface into its corresponding method name.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\PluginLoader", "fromLink": "SehrGut/Laravel5_Api/PluginLoader.html", "link": "SehrGut/Laravel5_Api/PluginLoader.html#method_isHook", "name": "SehrGut\\Laravel5_Api\\PluginLoader::isHook", "doc": "&quot;Test whether a Hook is.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Plugins", "fromLink": "SehrGut/Laravel5_Api/Plugins.html", "link": "SehrGut/Laravel5_Api/Plugins/Authorization.html", "name": "SehrGut\\Laravel5_Api\\Plugins\\Authorization", "doc": "&quot;This plugin checks for Policies or Gate Closures for an action or a single resource.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Authorization", "fromLink": "SehrGut/Laravel5_Api/Plugins/Authorization.html", "link": "SehrGut/Laravel5_Api/Plugins/Authorization.html#method_authorizeAction", "name": "SehrGut\\Laravel5_Api\\Plugins\\Authorization::authorizeAction", "doc": "&quot;Hook in here to check authorization for an action in general\n(before any records are fetched from the db).&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Authorization", "fromLink": "SehrGut/Laravel5_Api/Plugins/Authorization.html", "link": "SehrGut/Laravel5_Api/Plugins/Authorization.html#method_authorizeResource", "name": "SehrGut\\Laravel5_Api\\Plugins\\Authorization::authorizeResource", "doc": "&quot;Hook in here to check authorization for a single resource (db record).&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Authorization", "fromLink": "SehrGut/Laravel5_Api/Plugins/Authorization.html", "link": "SehrGut/Laravel5_Api/Plugins/Authorization.html#method_authenticatedUserOrDummy", "name": "SehrGut\\Laravel5_Api\\Plugins\\Authorization::authenticatedUserOrDummy", "doc": "&quot;Laravel assumes an authenticated User object for any authorization.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Plugins", "fromLink": "SehrGut/Laravel5_Api/Plugins.html", "link": "SehrGut/Laravel5_Api/Plugins/Paginator.html", "name": "SehrGut\\Laravel5_Api\\Plugins\\Paginator", "doc": "&quot;A basic paginator that takes &lt;code&gt;limit&lt;\/code&gt; and &lt;code&gt;page&lt;\/code&gt; from the\nrequest and adapts the colleciton queries accordingly.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Paginator", "fromLink": "SehrGut/Laravel5_Api/Plugins/Paginator.html", "link": "SehrGut/Laravel5_Api/Plugins/Paginator.html#method_adaptCollectionQuery", "name": "SehrGut\\Laravel5_Api\\Plugins\\Paginator::adaptCollectionQuery", "doc": "&quot;This hook receives the query on \&quot;index requests\&quot; after the request\nparameters have been applied, before the records are retrieved.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Paginator", "fromLink": "SehrGut/Laravel5_Api/Plugins/Paginator.html", "link": "SehrGut/Laravel5_Api/Plugins/Paginator.html#method_formatCollection", "name": "SehrGut\\Laravel5_Api\\Plugins\\Paginator::formatCollection", "doc": "&quot;This hook receives a Collection of resources before they are transformed.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Paginator", "fromLink": "SehrGut/Laravel5_Api/Plugins/Paginator.html", "link": "SehrGut/Laravel5_Api/Plugins/Paginator.html#method_beforeRespond", "name": "SehrGut\\Laravel5_Api\\Plugins\\Paginator::beforeRespond", "doc": "&quot;Hook in here to manipulate the response headers or other stuff before responding.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Paginator", "fromLink": "SehrGut/Laravel5_Api/Plugins/Paginator.html", "link": "SehrGut/Laravel5_Api/Plugins/Paginator.html#method_saveMetaCounts", "name": "SehrGut\\Laravel5_Api\\Plugins\\Paginator::saveMetaCounts", "doc": "&quot;Replace $placeholders with their actual values in config[&#039;meta_structure&#039;]\nand store the resulting array into &lt;code&gt;$this-&amp;gt;meta_counts&lt;\/code&gt;.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Plugins", "fromLink": "SehrGut/Laravel5_Api/Plugins.html", "link": "SehrGut/Laravel5_Api/Plugins/Plugin.html", "name": "SehrGut\\Laravel5_Api\\Plugins\\Plugin", "doc": "&quot;Base plugin from which all plugins have to inherit.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Plugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/Plugin.html", "link": "SehrGut/Laravel5_Api/Plugins/Plugin.html#method___construct", "name": "SehrGut\\Laravel5_Api\\Plugins\\Plugin::__construct", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\Plugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/Plugin.html", "link": "SehrGut/Laravel5_Api/Plugins/Plugin.html#method_configure", "name": "SehrGut\\Laravel5_Api\\Plugins\\Plugin::configure", "doc": "&quot;Set configuration options on the plugin.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Plugins", "fromLink": "SehrGut/Laravel5_Api/Plugins.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "doc": "&quot;This plugin separates relations from the actually requested models\nand puts them under separate keys in the response payload.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_formatCollection", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::formatCollection", "doc": "&quot;This hook receives a Collection of resources before they are transformed.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_formatResource", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::formatResource", "doc": "&quot;This hook receives a single resource before it is transformed.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_splitRelationsFromCollection", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::splitRelationsFromCollection", "doc": "&quot;Separate the related models from each model in the passed-in collection.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_splitRelationsFromModel", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::splitRelationsFromModel", "doc": "&quot;Split away relations from a single resource.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_includeRelativesAndRecurse", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::includeRelativesAndRecurse", "doc": "&quot;Add relatives to &lt;code&gt;$this-&amp;gt;includes&lt;\/code&gt; and run them through the splitter in turn, recursively.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_includeRelatives", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::includeRelatives", "doc": "&quot;Add passed-in relatives to &lt;code&gt;$this-&amp;gt;includes&lt;\/code&gt; under the &lt;code&gt;$name&lt;\/code&gt; key.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_includeAs", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::includeAs", "doc": "&quot;Add given relatives to &lt;code&gt;$this-&amp;gt;includes&lt;\/code&gt; under &lt;code&gt;$name&lt;\/code&gt;.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_replaceWithIdsOrClear", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::replaceWithIdsOrClear", "doc": "&quot;Replace related models with their ids.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_uniqueIncludes", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::uniqueIncludes", "doc": "&quot;Return all includes after removing duplicates.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_isSingularRelation", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::isSingularRelation", "doc": "&quot;Check if a relation on a model is singular, meaning that\nit refers to a single record, as opposed to multiple.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter", "fromLink": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html", "link": "SehrGut/Laravel5_Api/Plugins/RelationSplitter.html#method_ensureArray", "name": "SehrGut\\Laravel5_Api\\Plugins\\RelationSplitter::ensureArray", "doc": "&quot;Wrap subject into an array if it isn&#039;t one already, convert to array if it&#039;s a collection.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Plugins", "fromLink": "SehrGut/Laravel5_Api/Plugins.html", "link": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html", "name": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter", "doc": "&quot;This plugin allows filtering results index requests by applying &lt;code&gt;orWhere&lt;\/code&gt; conditions\nto the collection query, searching all &lt;code&gt;searchable&lt;\/code&gt; fields for the string\npassed in through the &lt;code&gt;search_param&lt;\/code&gt; request parameter.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter", "fromLink": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html", "link": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html#method_adaptCollectionQuery", "name": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter::adaptCollectionQuery", "doc": "&quot;This hook receives the query on \&quot;index requests\&quot; after the request\nparameters have been applied, before the records are retrieved.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter", "fromLink": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html", "link": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html#method_applyFilter", "name": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter::applyFilter", "doc": "&quot;Add filter conditions to the &lt;code&gt;$query&lt;\/code&gt;.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter", "fromLink": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html", "link": "SehrGut/Laravel5_Api/Plugins/SearchFilter.html#method_addCondition", "name": "SehrGut\\Laravel5_Api\\Plugins\\SearchFilter::addCondition", "doc": "&quot;Add a where filter to the &lt;code&gt;$query&lt;\/code&gt;. When &lt;code&gt;$field&lt;\/code&gt; is an array, the fields\nin the array will be compared against &lt;code&gt;$relation&lt;\/code&gt;. This works recursively.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Plugins", "fromLink": "SehrGut/Laravel5_Api/Plugins.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "doc": "&quot;This plugin is to test all hooks that exist on the Controller.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_adaptCollectionQuery", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::adaptCollectionQuery", "doc": "&quot;This hook receives the query on \&quot;index requests\&quot; after the request\nparameters have been applied, before the records are retrieved.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_adaptResourceQuery", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::adaptResourceQuery", "doc": "&quot;This hook receives the query on \&quot;single resource\&quot; requests after the\nrequest parameters have been applied, before the record is retrieved.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_authorizeResource", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::authorizeResource", "doc": "&quot;Hook in here to check authorization for a single resource (db record).&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_authorizeAction", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::authorizeAction", "doc": "&quot;Hook in here to check authorization for an action in general\n(before any records are fetched from the db).&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_beforeRespond", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::beforeRespond", "doc": "&quot;Hook in here to manipulate the response headers or other stuff before responding.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_formatCollection", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::formatCollection", "doc": "&quot;This hook receives a Collection of resources before they are transformed.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_formatResource", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::formatResource", "doc": "&quot;This hook receives a single resource before it is transformed.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin", "fromLink": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html", "link": "SehrGut/Laravel5_Api/Plugins/TestPlugin.html#method_testHook", "name": "SehrGut\\Laravel5_Api\\Plugins\\TestPlugin::testHook", "doc": "&quot;Just pass in anything here\u2026.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api", "fromLink": "SehrGut/Laravel5_Api.html", "link": "SehrGut/Laravel5_Api/RequestAdapter.html", "name": "SehrGut\\Laravel5_Api\\RequestAdapter", "doc": "&quot;This basic RequestAdapter assumes the keys are part of the url or the\nquery string and therefore available as properties of the request.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\RequestAdapter", "fromLink": "SehrGut/Laravel5_Api/RequestAdapter.html", "link": "SehrGut/Laravel5_Api/RequestAdapter.html#method___construct", "name": "SehrGut\\Laravel5_Api\\RequestAdapter::__construct", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\RequestAdapter", "fromLink": "SehrGut/Laravel5_Api/RequestAdapter.html", "link": "SehrGut/Laravel5_Api/RequestAdapter.html#method_hasKey", "name": "SehrGut\\Laravel5_Api\\RequestAdapter::hasKey", "doc": "&quot;Check if a given key exists in the request.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\RequestAdapter", "fromLink": "SehrGut/Laravel5_Api/RequestAdapter.html", "link": "SehrGut/Laravel5_Api/RequestAdapter.html#method_getValueByKey", "name": "SehrGut\\Laravel5_Api\\RequestAdapter::getValueByKey", "doc": "&quot;Get the value for a given key.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\RequestAdapter", "fromLink": "SehrGut/Laravel5_Api/RequestAdapter.html", "link": "SehrGut/Laravel5_Api/RequestAdapter.html#method_getPayload", "name": "SehrGut\\Laravel5_Api\\RequestAdapter::getPayload", "doc": "&quot;Get the request payload.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api\\Transformers", "fromLink": "SehrGut/Laravel5_Api/Transformers.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "doc": "&quot;Responsible for applying transformations to Eloquent Models\nin order to customize their representation at the API.&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method___construct", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::__construct", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_transform", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::transform", "doc": "&quot;Transform a single eloquent record.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_handleRelations", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::handleRelations", "doc": "&quot;Add the relations to the output.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_addRelation", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::addRelation", "doc": "&quot;Add a single relation.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_transformAny", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::transformAny", "doc": "&quot;Transform either Collection or Model using the known $model_mapping.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_dropAttributes", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::dropAttributes", "doc": "&quot;&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_formatAttributes", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::formatAttributes", "doc": "&quot;Format all attributes if a function exists that matches their name.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_alias", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::alias", "doc": "&quot;Apply all rules in $this-&gt;aliases and replace key accordingly in output.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_beforeSerialize", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::beforeSerialize", "doc": "&quot;Here you can hook in to change the output before serializing.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Transformers\\Transformer", "fromLink": "SehrGut/Laravel5_Api/Transformers/Transformer.html", "link": "SehrGut/Laravel5_Api/Transformers/Transformer.html#method_serialize", "name": "SehrGut\\Laravel5_Api\\Transformers\\Transformer::serialize", "doc": "&quot;Serialize a single record to an array.&quot;"},
              
              {"type": "Class", "fromName": "SehrGut\\Laravel5_Api", "fromLink": "SehrGut/Laravel5_Api.html", "link": "SehrGut/Laravel5_Api/Validator.html", "name": "SehrGut\\Laravel5_Api\\Validator", "doc": "&quot;&quot;"},
                                                          {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Validator", "fromLink": "SehrGut/Laravel5_Api/Validator.html", "link": "SehrGut/Laravel5_Api/Validator.html#method_getRules", "name": "SehrGut\\Laravel5_Api\\Validator::getRules", "doc": "&quot;Retrieve the rules of this validator.&quot;"},
                      {"type": "Method", "fromName": "SehrGut\\Laravel5_Api\\Validator", "fromLink": "SehrGut/Laravel5_Api/Validator.html", "link": "SehrGut/Laravel5_Api/Validator.html#method_validate", "name": "SehrGut\\Laravel5_Api\\Validator::validate", "doc": "&quot;Validate the input using $rules.&quot;"},
              
              
                                          // Fix trailing commas in the index
          {}
      ];
  
      /** Tokenizes strings by namespaces and functions */
      function tokenizer(term) {
          if (!term) {
              return [];
          }
  
          var tokens = [term];
          var meth = term.indexOf('::');
  
          // Split tokens into methods if "::" is found.
          if (meth > -1) {
              tokens.push(term.substr(meth + 2));
              term = term.substr(0, meth - 2);
          }
  
          // Split by namespace or fake namespace.
          if (term.indexOf('\\') > -1) {
              tokens = tokens.concat(term.split('\\'));
          } else if (term.indexOf('_') > 0) {
              tokens = tokens.concat(term.split('_'));
          }
  
          // Merge in splitting the string by case and return
          tokens = tokens.concat(term.match(/(([A-Z]?[^A-Z]*)|([a-z]?[^a-z]*))/g).slice(0,-1));
  
          return tokens;
      };
  
      root.Sami = {
          /**
           * Cleans the provided term. If no term is provided, then one is
           * grabbed from the query string "search" parameter.
           */
          cleanSearchTerm: function(term) {
              // Grab from the query string
              if (typeof term === 'undefined') {
                  var name = 'search';
                  var regex = new RegExp("[\\?&]" + name + "=([^&#]*)");
                  var results = regex.exec(location.search);
                  if (results === null) {
                      return null;
                  }
                  term = decodeURIComponent(results[1].replace(/\+/g, " "));
              }
  
              return term.replace(/<(?:.|\n)*?>/gm, '');
          },
  
          /** Searches through the index for a given term */
          search: function(term) {
              // Create a new search index if needed
              if (!bhIndex) {
                  bhIndex = new Bloodhound({
                      limit: 500,
                      local: searchIndex,
                      datumTokenizer: function (d) {
                          return tokenizer(d.name);
                      },
                      queryTokenizer: Bloodhound.tokenizers.whitespace
                  });
                  bhIndex.initialize();
              }
  
              results = [];
              bhIndex.get(term, function(matches) {
                  results = matches;
              });
  
              if (!rootPath) {
                  return results;
              }
  
              // Fix the element links based on the current page depth.
              return $.map(results, function(ele) {
                  if (ele.link.indexOf('..') > -1) {
                      return ele;
                  }
                  ele.link = rootPath + ele.link;
                  if (ele.fromLink) {
                      ele.fromLink = rootPath + ele.fromLink;
                  }
                  return ele;
              });
          },
  
          /** Get a search class for a specific type */
          getSearchClass: function(type) {
              return searchTypeClasses[type] || searchTypeClasses['_'];
          },
  
          /** Add the left-nav tree to the site */
          injectApiTree: function(ele) {
              ele.html(treeHtml);
          }
      };
  
      $(function() {
          // Modify the HTML to work correctly based on the current depth
          rootPath = $('body').attr('data-root-path');
          treeHtml = treeHtml.replace(/href="/g, 'href="' + rootPath);
          Sami.injectApiTree($('#api-tree'));
      });
  
      return root.Sami;
  })(window);
  
  $(function() {
  
      // Enable the version switcher
      $('#version-switcher').change(function() {
          window.location = $(this).val()
      });
  
      
          // Toggle left-nav divs on click
          $('#api-tree .hd span').click(function() {
              $(this).parent().parent().toggleClass('opened');
          });
  
          // Expand the parent namespaces of the current page.
          var expected = $('body').attr('data-name');
  
          if (expected) {
              // Open the currently selected node and its parents.
              var container = $('#api-tree');
              var node = $('#api-tree li[data-name="' + expected + '"]');
              // Node might not be found when simulating namespaces
              if (node.length > 0) {
                  node.addClass('active').addClass('opened');
                  node.parents('li').addClass('opened');
                  var scrollPos = node.offset().top - container.offset().top + container.scrollTop();
                  // Position the item nearer to the top of the screen.
                  scrollPos -= 200;
                  container.scrollTop(scrollPos);
              }
          }
  
      
      
          var form = $('#search-form .typeahead');
          form.typeahead({
              hint: true,
              highlight: true,
              minLength: 1
          }, {
              name: 'search',
              displayKey: 'name',
              source: function (q, cb) {
                  cb(Sami.search(q));
              }
          });
  
          // The selection is direct-linked when the user selects a suggestion.
          form.on('typeahead:selected', function(e, suggestion) {
              window.location = suggestion.link;
          });
  
          // The form is submitted when the user hits enter.
          form.keypress(function (e) {
              if (e.which == 13) {
                  $('#search-form').submit();
                  return true;
              }
          });
  
      
  });
  
  
  