-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
<?php include __DIR__ . '/inc/header.php'; ?> | ||
|
||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-item active" aria-current="page"><a href="<?php echo $url; ?>">TypeSchema</a> / Integration</li> | ||
</ol> | ||
</nav> | ||
|
||
<div class="container"> | ||
<h1 class="display-4">Integration</h1> | ||
<p class="lead">This list provides examples how you can work with the generated DTOs, it shows how you can read raw JSON data | ||
into a DTO and transform the DTO back into raw JSON data. Since the generator uses mostly standard or well-known libraries | ||
most developers should be familiar with this process. | ||
</p> | ||
<div class="row"> | ||
<?php foreach ($types as $chunk): ?> | ||
<div class="col-6"> | ||
<div class="list-group"> | ||
<?php foreach ($chunk as $type => $typeTitle): ?> | ||
<a href="<?php echo $router->getAbsolutePath([\App\Controller\Integration::class, 'showType'], ['type' => $type]); ?>" class="list-group-item list-group-item-action"><?php echo $typeTitle; ?></a> | ||
<?php endforeach; ?> | ||
</div> | ||
</div> | ||
<?php endforeach; ?> | ||
</div> | ||
</div> | ||
|
||
<?php include __DIR__ . '/inc/footer.php'; ?> |