...
 
Commits (2)
......@@ -22,6 +22,10 @@ return new \Sami\Sami($iterator, [
'title' => 'elias-haeussler.de API',
'build_dir' => DOCS_PATH . '/__build__/%version%',
'cache_dir' => DOCS_PATH . '/cache/%version%',
'remote_repository' => new \Sami\RemoteRepository\GitHubRemoteRepository('eliashaeussler/api', ROOT_PATH),
'remote_repository' => new \Sami\RemoteRepository\GitLabRemoteRepository(
'eliashaeussler/api',
ROOT_PATH,
'https://gitlab.elias-haeussler.de/'
),
'default_opened_level' => 2,
]);
......@@ -6,7 +6,9 @@ Version numbers are based on [Semantic Versioning](https://semver.org).
## [Unreleased]
### Updated
- Switch to Gitlab repository and update code documentation with new repository URL
......
[![license](https://img.shields.io/github/license/eliashaeussler/api.svg)](LICENSE)
[![release](https://img.shields.io/github/release/eliashaeussler/api.svg)](https://github.com/eliashaeussler/api/releases/)
[![pipeline status](http://gitlab.elias-haeussler.de/eliashaeussler/api/badges/master/pipeline.svg)](http://gitlab.elias-haeussler.de/eliashaeussler/api/commits/master)
[![license](https://img.shields.io/badge/license-GPL--3.0-orange.svg)](LICENSE)
[![release](https://img.shields.io/badge/release-stable-blue.svg)](https://gitlab.elias-haeussler.de/eliashaeussler/api/releases)
[![pipeline status](https://img.shields.io/gitlab/pipeline/eliashaeussler/api.svg?gitlab_url=https%3A%2F%2Fgitlab.elias-haeussler.de)](https://gitlab.elias-haeussler.de/eliashaeussler/api/pipelines)
# elias-haeussler.de API
......@@ -57,7 +57,7 @@ The API serves different endpoints which can be accessed from various clients.
Clone the repository first:
```bash
git clone git@github.com:eliashaeussler/api.git
git clone http://gitlab.elias-haeussler.de/eliashaeussler/api.git
```
Install dependencies (`composer` needs to be installed for this):
......
......@@ -100,7 +100,7 @@
</div>
<p>abstract class
<strong>BaseController</strong> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php">View source</a>)
<strong>BaseController</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php">View source</a>)
</p>
......@@ -281,7 +281,7 @@
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L47">line 47</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L47">line 47</a></div>
<code>final
<strong>__construct</strong>(string $route)
</code>
......@@ -314,7 +314,7 @@ calling <code>static::initializeRequest()</code>.</p>
</div>
<div class="method-item">
<h3 id="method_initializeRequest">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L62">line 62</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L62">line 62</a></div>
<code> abstract protected
<strong>initializeRequest</strong>()
</code>
......@@ -336,7 +336,7 @@ can also be used to pre-check API conditions and user authentications.</p>
</div>
<div class="method-item">
<h3 id="method_call">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L72">line 72</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L72">line 72</a></div>
<code>
<strong>call</strong>()
</code>
......@@ -367,7 +367,7 @@ validity and authenticity inside this method as it differs from different reques
</div>
<div class="method-item">
<h3 id="method_buildMessage">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L94">line 94</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L94">line 94</a></div>
<code> string
<strong>buildMessage</strong>(string $type, mixed $arg1, array ...$_)
</code>
......@@ -428,7 +428,7 @@ class. The first parameter <code>$type</code> defines the name of the method to
</div>
<div class="method-item">
<h3 id="method_readRequestBody">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L125">line 125</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L125">line 125</a></div>
<code> protected
<strong>readRequestBody</strong>()
</code>
......@@ -449,7 +449,7 @@ class. The first parameter <code>$type</code> defines the name of the method to
</div>
<div class="method-item">
<h3 id="method_readRequestHeaders">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L137">line 137</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L137">line 137</a></div>
<code> protected
<strong>readRequestHeaders</strong>()
</code>
......@@ -472,7 +472,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_matchesRoute">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L162">line 162</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L162">line 162</a></div>
<code> protected bool
<strong>matchesRoute</strong>(string $route)
</code>
......@@ -512,7 +512,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getRequestBody">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L172">line 172</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L172">line 172</a></div>
<code> string
<strong>getRequestBody</strong>()
</code>
......@@ -542,7 +542,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getRequestHeaders">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L182">line 182</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L182">line 182</a></div>
<code> array
<strong>getRequestHeaders</strong>()
</code>
......@@ -572,7 +572,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getRequestHeader">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L198">line 198</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L198">line 198</a></div>
<code> string
<strong>getRequestHeader</strong>(string $header, bool $useRawInput = false)
</code>
......@@ -619,7 +619,7 @@ by setting <code>$useRawInput</code> to <code>true</code>.</p>
</div>
<div class="method-item">
<h3 id="method_setRoute">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L214">line 214</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Controller/BaseController.php#L214">line 214</a></div>
<code>
<strong>setRoute</strong>(string $route)
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>AuthenticationException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Exception/AuthenticationException.php">View source</a>)
<strong>AuthenticationException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Exception/AuthenticationException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>ClassNotFoundException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Exception/ClassNotFoundException.php">View source</a>)
<strong>ClassNotFoundException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Exception/ClassNotFoundException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>EmptyControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Exception/EmptyControllerException.php">View source</a>)
<strong>EmptyControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Exception/EmptyControllerException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>EmptyParametersException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Exception/EmptyParametersException.php">View source</a>)
<strong>EmptyParametersException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Exception/EmptyParametersException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>InvalidControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Exception/InvalidControllerException.php">View source</a>)
<strong>InvalidControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Exception/InvalidControllerException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>InvalidRequestException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Exception/InvalidRequestException.php">View source</a>)
<strong>InvalidRequestException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Exception/InvalidRequestException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>Message</strong> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php">View source</a>)
<strong>Message</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php">View source</a>)
</p>
......@@ -230,7 +230,7 @@ renderer is provided through the <code>Template</code> class.</p>
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L45">line 45</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L45">line 45</a></div>
<code>
<strong>__construct</strong>()
</code>
......@@ -260,7 +260,7 @@ renderer is provided through the <code>Template</code> class.</p>
</div>
<div class="method-item">
<h3 id="method_message">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L61">line 61</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L61">line 61</a></div>
<code> string
<strong>message</strong>(string $header, string $body, string $type = self::MESSAGE_TYPE_NOTICE)
</code>
......@@ -311,7 +311,7 @@ body will be printed without formatting. Otherwise, the default template will be
</div>
<div class="method-item">
<h3 id="method_success">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L84">line 84</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L84">line 84</a></div>
<code> string
<strong>success</strong>(string $header, string $body)
</code>
......@@ -356,7 +356,7 @@ body will be printed without formatting. Otherwise, the default template will be
</div>
<div class="method-item">
<h3 id="method_notice">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L96">line 96</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L96">line 96</a></div>
<code> string
<strong>notice</strong>(string $header, string $body)
</code>
......@@ -401,7 +401,7 @@ body will be printed without formatting. Otherwise, the default template will be
</div>
<div class="method-item">
<h3 id="method_warning">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L108">line 108</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L108">line 108</a></div>
<code> string
<strong>warning</strong>(string $header, string $body)
</code>
......@@ -446,7 +446,7 @@ body will be printed without formatting. Otherwise, the default template will be
</div>
<div class="method-item">
<h3 id="method_error">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L121">line 121</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Message.php#L121">line 121</a></div>
<code> string
<strong>error</strong>(<a target="_blank" href="http://php.net/Exception">Exception</a> $object)
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>Template</strong> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php">View source</a>)
<strong>Template</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php">View source</a>)
</p>
......@@ -211,7 +211,7 @@
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L49">line 49</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L49">line 49</a></div>
<code>
<strong>__construct</strong>(string $file = self::DEFAULT_TEMPLATE)
</code>
......@@ -252,7 +252,7 @@ template for rendering by loading and storing it inside the class instance.</p>
</div>
<div class="method-item">
<h3 id="method_initializeTwig">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L60">line 60</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L60">line 60</a></div>
<code> protected
<strong>initializeTwig</strong>()
</code>
......@@ -273,7 +273,7 @@ template for rendering by loading and storing it inside the class instance.</p>
</div>
<div class="method-item">
<h3 id="method_loadTemplate">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L76">line 76</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L76">line 76</a></div>
<code> protected
<strong>loadTemplate</strong>()
</code>
......@@ -303,7 +303,7 @@ template for rendering by loading and storing it inside the class instance.</p>
</div>
<div class="method-item">
<h3 id="method_renderTemplate">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L87">line 87</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Frontend/Template.php#L87">line 87</a></div>
<code> string
<strong>renderTemplate</strong>(array $parameters = [])
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p>abstract class
<strong>BaseRoute</strong> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php">View source</a>)
<strong>BaseRoute</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php">View source</a>)
</p>
......@@ -174,7 +174,7 @@
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L34">line 34</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L34">line 34</a></div>
<code>final
<strong>__construct</strong>(<a href="../../../EliasHaeussler/Api/Controller/BaseController.html"><abbr title="EliasHaeussler\Api\Controller\BaseController">BaseController</abbr></a> $controller)
</code>
......@@ -206,7 +206,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_initializeRequest">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L46">line 46</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L46">line 46</a></div>
<code> abstract protected
<strong>initializeRequest</strong>()
</code>
......@@ -227,7 +227,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_processRequest">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L53">line 53</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L53">line 53</a></div>
<code> abstract
<strong>processRequest</strong>()
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>LunchCommandRoute</strong> extends <a href="../../../../EliasHaeussler/Api/Routing/BaseRoute.html"><abbr title="EliasHaeussler\Api\Routing\BaseRoute">BaseRoute</abbr></a> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php">View source</a>)
<strong>LunchCommandRoute</strong> extends <a href="../../../../EliasHaeussler/Api/Routing/BaseRoute.html"><abbr title="EliasHaeussler\Api\Routing\BaseRoute">BaseRoute</abbr></a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php">View source</a>)
</p>
......@@ -276,7 +276,7 @@ default after either the given duration or a default time.</p>
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">in <a href="../../../../EliasHaeussler/Api/Routing/BaseRoute.html#method___construct"><abbr title="EliasHaeussler\Api\Routing\BaseRoute">BaseRoute</abbr></a> at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L34">line 34</a></div>
<div class="location">in <a href="../../../../EliasHaeussler/Api/Routing/BaseRoute.html#method___construct"><abbr title="EliasHaeussler\Api\Routing\BaseRoute">BaseRoute</abbr></a> at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/BaseRoute.php#L34">line 34</a></div>
<code>final
<strong>__construct</strong>(<a href="../../../../EliasHaeussler/Api/Controller/BaseController.html"><abbr title="EliasHaeussler\Api\Controller\BaseController">BaseController</abbr></a> $controller)
</code>
......@@ -308,7 +308,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_initializeRequest">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L76">line 76</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L76">line 76</a></div>
<code> protected
<strong>initializeRequest</strong>()
</code>
......@@ -340,7 +340,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_processRequest">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L101">line 101</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L101">line 101</a></div>
<code>
<strong>processRequest</strong>()
</code>
......@@ -376,7 +376,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_checkIfStatusIsSet">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L135">line 135</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L135">line 135</a></div>
<code> protected bool
<strong>checkIfStatusIsSet</strong>()
</code>
......@@ -415,7 +415,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_calculateExpiration">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L165">line 165</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L165">line 165</a></div>
<code> protected int
<strong>calculateExpiration</strong>()
</code>
......@@ -461,7 +461,7 @@ processing the concrete initialization by calling <code>static::initializeReques
</div>
<div class="method-item">
<h3 id="method_showHelpText">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L177">line 177</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Routing/Slack/LunchCommandRoute.php#L177">line 177</a></div>
<code> protected
<strong>showHelpText</strong>()
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>GeneralUtility</strong> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php">View source</a>)
<strong>GeneralUtility</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php">View source</a>)
</p>
......@@ -163,7 +163,7 @@
<div id="method-details">
<div class="method-item">
<h3 id="method_makeInstance">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L33">line 33</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L33">line 33</a></div>
<code> static object
<strong>makeInstance</strong>(string $className, mixed ...$constructorArguments)
</code>
......@@ -217,7 +217,7 @@
</div>
<div class="method-item">
<h3 id="method_trimExplode">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L58">line 58</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L58">line 58</a></div>
<code> static array
<strong>trimExplode</strong>(string $delimiter, string $string, string $trimCharacters = &quot; \t\n\r\0\v&quot;, int $limit = PHP_INT_MAX)
</code>
......@@ -272,7 +272,7 @@
</div>
<div class="method-item">
<h3 id="method_getEnvironmentVariable">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L85">line 85</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L85">line 85</a></div>
<code> static string|array
<strong>getEnvironmentVariable</strong>(string $name)
</code>
......@@ -312,7 +312,7 @@
</div>
<div class="method-item">
<h3 id="method_getGitCommit">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L95">line 95</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/GeneralUtility.php#L95">line 95</a></div>
<code> static string
<strong>getGitCommit</strong>()
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>RoutingUtility</strong> (<a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php">View source</a>)
<strong>RoutingUtility</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php">View source</a>)
</p>
......@@ -269,7 +269,7 @@ request will be processed within the API controller.</p> </di
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L63">line 63</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L63">line 63</a></div>
<code>
<strong>__construct</strong>()
</code>
......@@ -314,7 +314,7 @@ resolved to a concrete API controller class.</p> </di
</div>
<div class="method-item">
<h3 id="method_loadEnvironment">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L75">line 75</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L75">line 75</a></div>
<code> protected
<strong>loadEnvironment</strong>()
</code>
......@@ -335,7 +335,7 @@ resolved to a concrete API controller class.</p> </di
</div>
<div class="method-item">
<h3 id="method_analyzeRequestUri">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L92">line 92</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L92">line 92</a></div>
<code> protected
<strong>analyzeRequestUri</strong>()
</code>
......@@ -372,7 +372,7 @@ method will throw exceptions if at least one of these components are not set.</p
</div>
<div class="method-item">
<h3 id="method_initializeController">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L122">line 122</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L122">line 122</a></div>
<code> protected
<strong>initializeController</strong>()
</code>
......@@ -406,7 +406,7 @@ method will throw exceptions if at least one of these components are not set.</p
</div>
<div class="method-item">
<h3 id="method_route">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L147">line 147</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L147">line 147</a></div>
<code>
<strong>route</strong>()
</code>
......@@ -437,7 +437,7 @@ request can be processed.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getAccess">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L159">line 159</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L159">line 159</a></div>
<code> static int
<strong>getAccess</strong>()
</code>
......@@ -467,7 +467,7 @@ request can be processed.</p> </div>
</div>
<div class="method-item">
<h3 id="method_setAccess">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L169">line 169</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L169">line 169</a></div>
<code> static
<strong>setAccess</strong>(int $access)
</code>
......@@ -498,7 +498,7 @@ request can be processed.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getController">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L179">line 179</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/1.0.0/src/Utility/RoutingUtility.php#L179">line 179</a></div>
<code> <a href="../../../EliasHaeussler/Api/Controller/BaseController.html"><abbr title="EliasHaeussler\Api\Controller\BaseController">BaseController</abbr></a>
<strong>getController</strong>()
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>DatabaseCommand</strong> extends <abbr title="Symfony\Component\Console\Command\Command">Command</abbr> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Command/DatabaseCommand.php">View source</a>)
<strong>DatabaseCommand</strong> extends <abbr title="Symfony\Component\Console\Command\Command">Command</abbr> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Command/DatabaseCommand.php">View source</a>)
</p>
......@@ -155,7 +155,7 @@
<div id="method-details">
<div class="method-item">
<h3 id="method_configure">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Command/DatabaseCommand.php#L38">line 38</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Command/DatabaseCommand.php#L38">line 38</a></div>
<code> protected
<strong>configure</strong>()
</code>
......@@ -176,7 +176,7 @@
</div>
<div class="method-item">
<h3 id="method_execute">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Command/DatabaseCommand.php#L64">line 64</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Command/DatabaseCommand.php#L64">line 64</a></div>
<code> protected
<strong>execute</strong>(<abbr title="Symfony\Component\Console\Input\InputInterface">InputInterface</abbr> $input, <abbr title="Symfony\Component\Console\Output\OutputInterface">OutputInterface</abbr> $output)
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p>abstract class
<strong>BaseController</strong> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php">View source</a>)
<strong>BaseController</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php">View source</a>)
</p>
......@@ -291,7 +291,7 @@
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L47">line 47</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L47">line 47</a></div>
<code>final
<strong>__construct</strong>(string $route)
</code>
......@@ -324,7 +324,7 @@ calling <code>static::initializeRequest()</code>.</p>
</div>
<div class="method-item">
<h3 id="method_initializeRequest">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L63">line 63</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L63">line 63</a></div>
<code> abstract protected
<strong>initializeRequest</strong>()
</code>
......@@ -346,7 +346,7 @@ can also be used to pre-check API conditions and user authentications.</p>
</div>
<div class="method-item">
<h3 id="method_call">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L73">line 73</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L73">line 73</a></div>
<code>
<strong>call</strong>()
</code>
......@@ -377,7 +377,7 @@ validity and authenticity inside this method as it differs from different reques
</div>
<div class="method-item">
<h3 id="method_buildMessage">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L95">line 95</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L95">line 95</a></div>
<code> string
<strong>buildMessage</strong>(string $type, mixed $arg1, array ...$_)
</code>
......@@ -438,7 +438,7 @@ class. The first parameter <code>$type</code> defines the name of the method to
</div>
<div class="method-item">
<h3 id="method_readRequestBody">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L126">line 126</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L126">line 126</a></div>
<code> protected
<strong>readRequestBody</strong>()
</code>
......@@ -459,7 +459,7 @@ class. The first parameter <code>$type</code> defines the name of the method to
</div>
<div class="method-item">
<h3 id="method_readRequestHeaders">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L138">line 138</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L138">line 138</a></div>
<code> protected
<strong>readRequestHeaders</strong>()
</code>
......@@ -482,7 +482,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_initializeEnvironment">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L160">line 160</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L160">line 160</a></div>
<code> protected
<strong>initializeEnvironment</strong>()
</code>
......@@ -503,7 +503,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_matchesRoute">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L170">line 170</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L170">line 170</a></div>
<code> protected bool
<strong>matchesRoute</strong>(string $route)
</code>
......@@ -543,7 +543,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getRequestBody">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L180">line 180</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L180">line 180</a></div>
<code> string
<strong>getRequestBody</strong>()
</code>
......@@ -573,7 +573,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getRequestHeaders">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L190">line 190</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L190">line 190</a></div>
<code> array
<strong>getRequestHeaders</strong>()
</code>
......@@ -603,7 +603,7 @@ from the header name.</p> </div>
</div>
<div class="method-item">
<h3 id="method_getRequestHeader">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L206">line 206</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L206">line 206</a></div>
<code> string
<strong>getRequestHeader</strong>(string $header, bool $useRawInput = false)
</code>
......@@ -650,7 +650,7 @@ by setting <code>$useRawInput</code> to <code>true</code>.</p>
</div>
<div class="method-item">
<h3 id="method_setRoute">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L222">line 222</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/BaseController.php#L222">line 222</a></div>
<code>
<strong>setRoute</strong>(string $route)
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> trait
<strong>UserEnvironmentRequired</strong> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/UserEnvironmentRequired.php">View source</a>)
<strong>UserEnvironmentRequired</strong> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/UserEnvironmentRequired.php">View source</a>)
</p>
......@@ -134,7 +134,7 @@ will be initialized right before the request is handled.</p>
<div id="method-details">
<div class="method-item">
<h3 id="method_initializeEnvironment">
<div class="location">at <a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Controller/UserEnvironmentRequired.php#L25">line 25</a></div>
<div class="location">at <a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Controller/UserEnvironmentRequired.php#L25">line 25</a></div>
<code> protected
<strong>initializeEnvironment</strong>()
</code>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>AuthenticationException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Exception/AuthenticationException.php">View source</a>)
<strong>AuthenticationException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Exception/AuthenticationException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>ClassNotFoundException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Exception/ClassNotFoundException.php">View source</a>)
<strong>ClassNotFoundException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Exception/ClassNotFoundException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>DatabaseException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Exception/DatabaseException.php">View source</a>)
<strong>DatabaseException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Exception/DatabaseException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>EmptyControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Exception/EmptyControllerException.php">View source</a>)
<strong>EmptyControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Exception/EmptyControllerException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>EmptyParametersException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Exception/EmptyParametersException.php">View source</a>)
<strong>EmptyParametersException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Exception/EmptyParametersException.php">View source</a>)
</p>
......
......@@ -100,7 +100,7 @@
</div>
<p> class
<strong>InvalidControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://github.com/eliashaeussler/api/blob/2.0.0/src/Exception/InvalidControllerException.php">View source</a>)
<strong>InvalidControllerException</strong> extends <a target="_blank" href="http://php.net/Exception">Exception</a> (<a href="https://gitlab.elias-haeussler.de/eliashaeussler/api/blob/2.0.0/src/Exception/InvalidControllerException.php">