Skip to content

Commit

Permalink
Updated to 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
idmarinas committed Feb 2, 2021
1 parent 922d8e6 commit 089a6ab
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 174 deletions.
215 changes: 64 additions & 151 deletions docs/classes/Lotgd-Core-Lib-Settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ <h3 id="toc">
<dd></dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method___construct">__construct()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd></dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method_clearSettings">clearSettings()</a>
<span>
&nbsp;: mixed </span>
Expand Down Expand Up @@ -188,13 +195,6 @@ <h3 id="toc">
</dt>
<dd>Get a value of a setting.</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method_isConnected">isConnected()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Check if have a connection to DB.</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method_loadSettings">loadSettings()</a>
<span>
Expand All @@ -216,20 +216,6 @@ <h3 id="toc">
</dt>
<dd>Save setting in to Data Base.</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method_setCache">setCache()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Set cache system.</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method_setDoctrine">setDoctrine()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Set doctrine to use.</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Lib-Settings.html#method_setTableName">setTableName()</a>
<span>
Expand Down Expand Up @@ -448,6 +434,55 @@ <h3 class="phpdocumentor-elements__header" id="methods">
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___construct">
__construct()
<a href="classes/Lotgd-Core-Lib-Settings.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">24</span>
</aside>


<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Symfony\Contracts\Cache\CacheInterface">CacheInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cache</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$doctrine</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>


<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cache</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Symfony\Contracts\Cache\CacheInterface">CacheInterface</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">

</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$doctrine</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">

</dd>
</dl>



<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"></section>


</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_clearSettings">
clearSettings()
Expand All @@ -456,7 +491,7 @@ <h4 class="phpdocumentor-element__name" id="method_clearSettings">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">138</span>
<span class="phpdocumentor-element-found-in__line">129</span>
</aside>

<p class="phpdocumentor-summary">Force to reload all settings.</p>
Expand Down Expand Up @@ -490,7 +525,7 @@ <h4 class="phpdocumentor-element__name" id="method_getAllSettings">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">151</span>
<span class="phpdocumentor-element-found-in__line">142</span>
</aside>

<p class="phpdocumentor-summary">Get all settings of game.</p>
Expand Down Expand Up @@ -524,7 +559,7 @@ <h4 class="phpdocumentor-element__name" id="method_getArray">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">163</span>
<span class="phpdocumentor-element-found-in__line">154</span>
</aside>

<p class="phpdocumentor-summary">Alias of getAllSettings().</p>
Expand Down Expand Up @@ -558,7 +593,7 @@ <h4 class="phpdocumentor-element__name" id="method_getSetting">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">32</span>
<span class="phpdocumentor-element-found-in__line">38</span>
</aside>

<p class="phpdocumentor-summary">Get a value of a setting.</p>
Expand Down Expand Up @@ -597,40 +632,6 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
<section class="phpdocumentor-description"></section>


</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isConnected">
isConnected()
<a href="classes/Lotgd-Core-Lib-Settings.html#method_isConnected" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">211</span>
</aside>

<p class="phpdocumentor-summary">Check if have a connection to DB.</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isConnected</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>

<section class="phpdocumentor-description"></section>




<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"></section>


</article>
<article
class="phpdocumentor-element
Expand Down Expand Up @@ -679,7 +680,7 @@ <h4 class="phpdocumentor-element__name" id="method_repository">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">198</span>
<span class="phpdocumentor-element-found-in__line">175</span>
</aside>

<p class="phpdocumentor-summary">Get repository.</p>
Expand Down Expand Up @@ -713,7 +714,7 @@ <h4 class="phpdocumentor-element__name" id="method_saveSetting">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">58</span>
<span class="phpdocumentor-element-found-in__line">64</span>
</aside>

<p class="phpdocumentor-summary">Save setting in to Data Base.</p>
Expand Down Expand Up @@ -751,94 +752,6 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
<section class="phpdocumentor-description"></section>


</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setCache">
setCache()
<a href="classes/Lotgd-Core-Lib-Settings.html#method_setCache" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">221</span>
</aside>

<p class="phpdocumentor-summary">Set cache system.</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Symfony\Contracts\Cache\CacheInterface">CacheInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cache</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>

<section class="phpdocumentor-description"></section>

<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cache</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Symfony\Contracts\Cache\CacheInterface">CacheInterface</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">

</dd>
</dl>



<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
&mdash;
<section class="phpdocumentor-description"></section>


</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setDoctrine">
setDoctrine()
<a href="classes/Lotgd-Core-Lib-Settings.html#method_setDoctrine" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">186</span>
</aside>

<p class="phpdocumentor-summary">Set doctrine to use.</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setDoctrine</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Lotgd-Core-Doctrine-ORM-EntityManager.html"><abbr title="\Lotgd\Core\Doctrine\ORM\EntityManager">EntityManager</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$doctrine</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>

<section class="phpdocumentor-description"></section>

<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$doctrine</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Lotgd-Core-Doctrine-ORM-EntityManager.html"><abbr title="\Lotgd\Core\Doctrine\ORM\EntityManager">EntityManager</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">

</dd>
</dl>



<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
&mdash;
<section class="phpdocumentor-description"></section>


</article>
<article
class="phpdocumentor-element
Expand All @@ -853,7 +766,7 @@ <h4 class="phpdocumentor-element__name" id="method_setTableName">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">172</span>
<span class="phpdocumentor-element-found-in__line">163</span>
</aside>

<p class="phpdocumentor-summary">Set a table name for settings.</p>
Expand Down Expand Up @@ -898,7 +811,7 @@ <h4 class="phpdocumentor-element__name" id="method_getCacheKey">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Lib/Settings.php"><a href="files/src-core-lib-settings.html"><abbr title="src/core/Lib/Settings.php">Settings.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">231</span>
<span class="phpdocumentor-element-found-in__line">188</span>
</aside>

<p class="phpdocumentor-summary">Get key of cache.</p>
Expand Down
10 changes: 5 additions & 5 deletions docs/classes/Lotgd-Core-Output-Format.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h3 id="toc">
<dd>Get the complete color array.</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Lotgd-Core-Output-Format.html#method_messageFormater">messageFormater()</a>
<a href="classes/Lotgd-Core-Output-Format.html#method_messageFormatter">messageFormatter()</a>
<span>
&nbsp;: string </span>
</dt>
Expand Down Expand Up @@ -1605,9 +1605,9 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_messageFormater">
messageFormater()
<a href="classes/Lotgd-Core-Output-Format.html#method_messageFormater" class="headerlink"><i class="fas fa-link"></i></a>
<h4 class="phpdocumentor-element__name" id="method_messageFormatter">
messageFormatter()
<a href="classes/Lotgd-Core-Output-Format.html#method_messageFormatter" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/core/Output/Format.php"><a href="files/src-core-output-format.html"><abbr title="src/core/Output/Format.php">Format.php</abbr></a></abbr>
Expand All @@ -1619,7 +1619,7 @@ <h4 class="phpdocumentor-element__name" id="method_messageFormater">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">messageFormater</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$message</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$locale</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<span class="phpdocumentor-signature__name">messageFormatter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$message</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$locale</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>

<section class="phpdocumentor-description"></section>

Expand Down
Loading

0 comments on commit 089a6ab

Please sign in to comment.