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
{ | |
"$schema": "https://schema.stackmeister.com/entities/address", | |
"type": "object", | |
"properties": { | |
"id": { "type": "integer", "maxLength": 11, "x-generated": true }, | |
"streetName": { "type": "string", "maxLength": 200 } | |
} | |
} |
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
{% use 'form_div_layout.html.twig' %} | |
{% block form_start -%} | |
{% set attr = attr|merge({class: (attr.class|default('') ~ ' ui form')|trim}) %} | |
{{- parent() -}} | |
{%- endblock form_start %} | |
{# Widgets #} | |
{% block form_widget_simple -%} |
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
export default class TransformationMatrix | |
{ | |
a; | |
b; | |
c; | |
d; | |
tx; | |
ty; |
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
<div data-component="HelloWorld" data-props='{"what": "World!"}'></div> |
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
//Inheritance: | |
class ApiClient extends HttpClient | |
{ | |
public function getUsers(): array | |
{ | |
$this->options['my_option'] = stream_context_create(); //Man kann Unfug mit der Parent-Klasse treiben |
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
<?php | |
class Todo | |
{ | |
private $description; | |
private $completed; | |
private $due; | |
public function __construct($description = '', $completed = 0, $due = 'tomorrow') | |
{ |
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
<?php | |
/** | |
* Tale\StringUtil - The Tale Framework | |
* | |
* @version 1.0 | |
* @status Beta | |
* @author Torben Köhn <t.koehn@outlook.com> | |
* | |
* This software is distributed under the MIT license. | |
* A copy of the license has been distributed with this software. |
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
<?php | |
namespace Dwarf; | |
class Path extends Object implements \IteratorAggregate, \Countable { | |
protected $path; | |
public function __construct( $path ) { | |
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
<?php | |
class FastGrf | |
{ | |
private $files; | |
private $path; | |
private $handle; | |
public function __construct($path) |
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
<table> | |
<thead> | |
<tr> | |
<th>Header 1 | |
<th>Header 2 | |
<th>Header 3 | |
<th>Header 4 | |
<tbody> | |
<tr> | |
<td>Content 1 |
NewerOlder