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
@primaryColor : @pink; | |
@secondaryColor : @grey; | |
@red : #B03060; | |
@orange : #FE9A76; | |
@yellow : #FFD700; | |
@olive : #32CD32; | |
@green : #016936; | |
@teal : #008080; | |
@blue : #0E6EB8; | |
@violet : #EE82EE; |
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
T09IIE9PSA0KDQpXRSdSRSBOTyBTVFJBTkdFUlMgVE8gTE9WRQ0KWU9VIEtOT1cgVEhFIFJVTEVTIEFORCBTTyBETyBJDQpBIEZVTEwgQ09NTUlUTUVOVCdTIFdIQVQgSSdNIFRISU5LSU5HIE9GDQpZT1UgV09VTEROJ1QgR0VUIFRISVMgRlJPTSBBTlkgT1RIRVIgR1VZDQpJIEpVU1QgV0FOTkEgVEVMTCBZT1UgSE9XIEknTSBGRUVMSU5HDQpHT1RUQSBNQUtFIFlPVSBVTkRFUlNUQU5EDQoNCk5FVkVSIEdPTk5BIEdJVkUgWU9VIFVQDQpORVZFUiBHT05OQSBMRVQgWU9VIERPV04NCk5FVkVSIEdPTk5BIFJVTiBBUk9VTkQgQU5EIERFU0VSVCBZT1UNCk5FVkVSIEdPTk5BIE1BS0UgWU9VIENSWQ0KTkVWRVIgR09OTkEgU0FZIEdPT0RCWUUNCk5FVkVSIEdPTk5BIFRFTEwgQSBMSUUgQU5EIEhVUlQgWU9VDQoNCldFJ1ZFIEtOT1dOIEVBQ0ggT1RIRVIgRk9SIFNPIExPTkcNCllPVVIgSEVBUlQnUyBCRUVOIEFDSElORyBCVVQNCllPVSdSRSBUT08gU0hZIFRPIFNBWSBJVA0KSU5TSURFIFdFIEJPVEggS05PVyBXSEFUJ1MgQkVFTiBHT0lORyBPTg0KV0UgS05PVyBUSEUgR0FNRSBBTkQgV0UnUkUgR09OTkEgUExBWSBJVA0KQU5EIElGIFlPVSBBU0sgTUUgSE9XIEknTSBGRUVMSU5HDQpET04nVCBURUxMIE1FIFlPVSdSRSBUT08gQkxJTkQgVE8gU0VFDQoNCk5FVkVSIEdPTk5BIEdJVkUgWU9VIFVQDQpORVZFUiBHT05OQSBMRVQgWU9VIERPV04NCk5FVkVSIEdPTk5BIFJVTiBBUk9VTkQgQU5EIERFU0VSVCBZT1UNCk5FVkVSIEdPTk5BIE1BS0UgWU9VIENS |
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 | |
private static $functions = [ | |
'rgb' => ['className' => RgbColor::class, 'args' => [ | |
['type' => 'int', 'base' => 255], | |
['type' => 'int', 'base' => 255], | |
['type' => 'int', 'base' => 255] | |
]], | |
'rgba' => ['className' => RgbaColor::class, 'args' => [ | |
['type' => 'int', 'base' => 255], |
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 | |
error_reporting(E_ALL | E_STRICT); | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
function benchmark($name, callable $procedure, $iterations = null) | |
{ | |
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 Request | |
{ | |
//... | |
public function __cast($type) { | |
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 | |
declare(autobox='MyAutoboxer::box'); | |
//All variables coming into this file will be handled through autoboxing | |
class Autoboxer | |
{ | |
public static function box(mixed $value) | |
{ |
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 MyCollection | |
{ | |
//Iterator/ArrayAccess/Countable stuff... | |
public overload -(array $other) | |
{ | |
return new self(array_diff($this->items, $other)); |
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 Column implements Annotation | |
{ | |
private string $type; | |
private int $length; | |
private bool $nullable; | |
public function __construct(string $type, int $length = null, bool $nullable = false) |
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 | |
use Psr\Http\Message\ResponseInterface; | |
use Ion\Http; | |
use Ion\Http\{ | |
Middleware\Queue, | |
MiddlewareInterface, | |
Middleware\Dispatcher, | |
Middleware\RunFilterTrait, | |
Response |