Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
27pchrisl committed Apr 11, 2021
1 parent 16e01c4 commit ece5d84
Show file tree
Hide file tree
Showing 54 changed files with 4,830 additions and 2,254 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ Lodata::add($entitySet);

## Advanced usage

Developer API documentation is automatically generated at [https://flat3.github.io/lodata](https://flat3.github.io/lodata/namespaces/flat3-lodata.html)

### Annotations

OData allows the creation of annotations on the schema. Annotations are classes that extend `\Flat3\Lodata\Annotation`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h3 id="toc">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-ComplexType.html#method_getNavigationProperties">getNavigationProperties()</a>
<span>
&nbsp;: <a href="classes/Flat3-Lodata-Helper-ObjectArray.html"><abbr title="\Flat3\Lodata\Helper\ObjectArray">ObjectArray</abbr></a> </span>
&nbsp;: <a href="classes/Flat3-Lodata-Helper-ObjectArray.html"><abbr title="\Flat3\Lodata\Helper\ObjectArray">ObjectArray</abbr></a>|array&lt;string|int, <a href="classes/Flat3-Lodata-NavigationProperty.html"><abbr title="\Flat3\Lodata\NavigationProperty">NavigationProperty</abbr></a>&gt; </span>
</dt>
<dd>Get all navigation properties defined on this type</dd>

Expand Down Expand Up @@ -1237,15 +1237,15 @@ <h4 class="phpdocumentor-element__name" id="method_getNavigationProperties">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getNavigationProperties</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Flat3-Lodata-Helper-ObjectArray.html"><abbr title="\Flat3\Lodata\Helper\ObjectArray">ObjectArray</abbr></a></span></code>
<span class="phpdocumentor-signature__name">getNavigationProperties</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Flat3-Lodata-Helper-ObjectArray.html"><abbr title="\Flat3\Lodata\Helper\ObjectArray">ObjectArray</abbr></a>|array&lt;string|int, <a href="classes/Flat3-Lodata-NavigationProperty.html"><abbr title="\Flat3\Lodata\NavigationProperty">NavigationProperty</abbr></a>&gt;</span></code>

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




<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href="classes/Flat3-Lodata-Helper-ObjectArray.html"><abbr title="\Flat3\Lodata\Helper\ObjectArray">ObjectArray</abbr></a></span>
<span class="phpdocumentor-signature__response_type"><a href="classes/Flat3-Lodata-Helper-ObjectArray.html"><abbr title="\Flat3\Lodata\Helper\ObjectArray">ObjectArray</abbr></a>|array&lt;string|int, <a href="classes/Flat3-Lodata-NavigationProperty.html"><abbr title="\Flat3\Lodata\NavigationProperty">NavigationProperty</abbr></a>&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>Navigation properties</p>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@ <h3 id="toc">
<dd></dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-Annotation.html#method_append">append()</a>
<a href="classes/Flat3-Lodata-Annotation.html#method_appendJson">appendJson()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Append the annotation to the provided schema element</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-Annotation.html#method_appendXml">appendXml()</a>
<span>
&nbsp;: $this </span>
</dt>
Expand Down Expand Up @@ -229,21 +236,66 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_append">
append()
<a href="classes/Flat3-Lodata-Annotation.html#method_append" class="headerlink"><i class="fas fa-link"></i></a>
<h4 class="phpdocumentor-element__name" id="method_appendJson">
appendJson()
<a href="classes/Flat3-Lodata-Annotation.html#method_appendJson" 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/Annotation.php"><a href="files/src-annotation.html"><abbr title="src/Annotation.php">Annotation.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">39</span>
</aside>

<p class="phpdocumentor-summary">Append the annotation to the provided schema element</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">appendJson</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\stdClass">stdClass</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</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">$schema</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\stdClass">stdClass</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>

</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_appendXml">
appendXml()
<a href="classes/Flat3-Lodata-Annotation.html#method_appendXml" 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/Annotation.php"><a href="files/src-annotation.html"><abbr title="src/Annotation.php">Annotation.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">38</span>
<span class="phpdocumentor-element-found-in__line">85</span>
</aside>

<p class="phpdocumentor-summary">Append the annotation to the provided schema element</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">append</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SimpleXMLElement">SimpleXMLElement</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<span class="phpdocumentor-signature__name">appendXml</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SimpleXMLElement">SimpleXMLElement</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@ <h3 id="toc">
<dd></dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-Annotation.html#method_append">append()</a>
<a href="classes/Flat3-Lodata-Annotation.html#method_appendJson">appendJson()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Append the annotation to the provided schema element</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-Annotation.html#method_appendXml">appendXml()</a>
<span>
&nbsp;: $this </span>
</dt>
Expand Down Expand Up @@ -229,21 +236,66 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_append">
append()
<a href="classes/Flat3-Lodata-Annotation.html#method_append" class="headerlink"><i class="fas fa-link"></i></a>
<h4 class="phpdocumentor-element__name" id="method_appendJson">
appendJson()
<a href="classes/Flat3-Lodata-Annotation.html#method_appendJson" 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/Annotation.php"><a href="files/src-annotation.html"><abbr title="src/Annotation.php">Annotation.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">39</span>
</aside>

<p class="phpdocumentor-summary">Append the annotation to the provided schema element</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">appendJson</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\stdClass">stdClass</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</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">$schema</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\stdClass">stdClass</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>

</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_appendXml">
appendXml()
<a href="classes/Flat3-Lodata-Annotation.html#method_appendXml" 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/Annotation.php"><a href="files/src-annotation.html"><abbr title="src/Annotation.php">Annotation.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">38</span>
<span class="phpdocumentor-element-found-in__line">85</span>
</aside>

<p class="phpdocumentor-summary">Append the annotation to the provided schema element</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">append</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SimpleXMLElement">SimpleXMLElement</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<span class="phpdocumentor-signature__name">appendXml</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SimpleXMLElement">SimpleXMLElement</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@ <h3 id="toc">
<dd></dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-Annotation.html#method_append">append()</a>
<a href="classes/Flat3-Lodata-Annotation.html#method_appendJson">appendJson()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Append the annotation to the provided schema element</dd>

<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Flat3-Lodata-Annotation.html#method_appendXml">appendXml()</a>
<span>
&nbsp;: $this </span>
</dt>
Expand Down Expand Up @@ -229,21 +236,66 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_append">
append()
<a href="classes/Flat3-Lodata-Annotation.html#method_append" class="headerlink"><i class="fas fa-link"></i></a>
<h4 class="phpdocumentor-element__name" id="method_appendJson">
appendJson()
<a href="classes/Flat3-Lodata-Annotation.html#method_appendJson" 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/Annotation.php"><a href="files/src-annotation.html"><abbr title="src/Annotation.php">Annotation.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">39</span>
</aside>

<p class="phpdocumentor-summary">Append the annotation to the provided schema element</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">appendJson</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\stdClass">stdClass</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</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">$schema</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\stdClass">stdClass</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>

</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_appendXml">
appendXml()
<a href="classes/Flat3-Lodata-Annotation.html#method_appendXml" 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/Annotation.php"><a href="files/src-annotation.html"><abbr title="src/Annotation.php">Annotation.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">38</span>
<span class="phpdocumentor-element-found-in__line">85</span>
</aside>

<p class="phpdocumentor-summary">Append the annotation to the provided schema element</p>

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">append</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SimpleXMLElement">SimpleXMLElement</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<span class="phpdocumentor-signature__name">appendXml</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\SimpleXMLElement">SimpleXMLElement</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$schema</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>

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

Expand Down
Loading

0 comments on commit ece5d84

Please sign in to comment.