This file contains hidden or 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 Rector\Php80\Rector\Class_\AnnotationToAttributeRector; | |
| use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | |
| return static function (ContainerConfigurator $containerConfigurator): void { | |
| $services = $containerConfigurator->services(); | |
| $openApiAnnotationsRaw = [ | |
| 'AdditionalProperties', |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Server-sent events demo (Centrifugo)</title> | |
| <!-- style the indicators: -isonline, -islive, isrequest --> | |
| <style> | |
| .label { border-radius: 0.1rem; padding: .1rem .2rem; background: #f0f1f4; color: #5b657a; display: inline-block; } | |
| .label.label-success { background: #32b643; color: #fff; } |
OlderNewer