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 Illuminate\Support\Collection; | |
use Psr\Log\LoggerInterface; | |
class RequestThrottler | |
{ | |
/** | |
* @var LoggerInterface | |
*/ | |
private $logger; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Scalable form processing with scalable message queues</title> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.js"></script> | |
</head> | |
<body> | |
<h1>Scalable form processing with scalable message queues</h1> |
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 | |
return array( | |
MongoClient::class => object()->constructor(get('setting.mongodb.url'), $options = array()), | |
MongoDB::class => object()->constructor(get(MongoClient::class), get('setting.mongodb.database')), | |
'*' . MongoCollection::class => function (ContainerInterface $container, RequestedEntry $e) { | |
$namespace = str_replace(MongoCollection::class, '', $e->getName()); | |
return new MongoCollection($container->get(MongoDB::class), $name = $namespace); | |
}, | |
'*chainCachesCollection' => function (ContainerInterface $container, RequestedEntry $e) { | |
$namespace = str_replace('chainCachesCollection', '', $e->getName()); |
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
Verifying that +holtkamp is my blockchain ID. https://onename.com/holtkamp |
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 reflection to reset all properties in the hierarchy of the current object. | |
* | |
* Because lower level classes, might define / override their own property values, we need to reset in the proper | |
* order: from parent to child | |
* | |
* @return void | |
*/ |