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 | |
// ------------------------------------------------------------------------------------- | |
// Add your JSON in the $input to generate Swagger-PHP annotation | |
// Inspired by: https://github.com/Roger13/SwagDefGen | |
// HOWTO: | |
// php -S localhost:8888 -t . | |
// http://localhost:8888/swagit.php | |
// ------------------------------------------------------------------------------------- |
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
# ----------------------------------------------------------------------------- | |
# Build RoadRunner | |
# ----------------------------------------------------------------------------- | |
FROM golang:1.14 as builder | |
ENV CGO_ENABLED=0 | |
ENV GO111MODULE=on | |
RUN apt-get update | |
WORKDIR /go/src/roadrunner |
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 | |
/** | |
* @license GPLv3 (or any later version) | |
* @see http://kizu514.com/blog/refactor-your-slow-form-using-php-generators-and-event-streams/ | |
*/ | |
namespace KIZU514; | |
class EventEmitter | |
{ |