I hereby claim:
- I am guiwoda on github.
- I am guiwoda (https://keybase.io/guiwoda) on keybase.
- I have a public key whose fingerprint is 6D3C A6D1 B9CB 3281 E4E1 90F5 A0D9 990F F73C AF3B
To claim this, I am signing this object:
Verifying that +guiwoda is my blockchain ID. https://onename.com/guiwoda |
<?php | |
namespace App\Providers; | |
use Doctrine\DBAL\Connection; | |
use Illuminate\Contracts\Container\Container; | |
use Illuminate\Support\ServiceProvider; | |
use Prooph\Common\Event\ActionEvent; | |
use Prooph\Common\Event\ActionEventEmitter; | |
use Prooph\Common\Event\ActionEventListenerAggregate; | |
use Prooph\Common\Event\DetachAggregateHandlers; |
<?php | |
namespace App\ActiveRecord; | |
class PostRepository | |
{ | |
private $cache; | |
public function __construct(Cache $cache) | |
{ | |
// Any set() / get() cache implementation. |
<?php | |
class IPDependentMiddleware { | |
private $wrapped; | |
public function __construct($wrapped){ | |
$this->wrapped = $wrapped; | |
} | |
public function handle($request, $next) | |
{ |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ "$PULL_REQUEST_NUMBER" == "false" ]; then | |
~/sonar-scanner/sonar-scanner-2.8/bin/sonar-scanner -Dsonar.analysis.mode=preview \ | |
-Dsonar.github.repository=$SEMAPHORE_REPO_SLUG \ | |
-Dsonar.github.oauth=$GITHUB_TOKEN \ | |
-Dsonar.host.url=$SONAR_HOST_URL \ | |
-Dsonar.login=$SONAR_TOKEN | |
else | |
~/sonar-scanner/sonar-scanner-2.8/bin/sonar-scanner -Dsonar.analysis.mode=preview \ |
Map
) that could be implemented for SQL, NoSQL (Key-Value, Document...), JSON APIs, or anything that needs to build objects from scalar data.// Write model: event sourcing?
class BookPublished(string $title, string $description, Author[] $authors, ...){}
class BookReviewed(Book $aBook, User $reviewer, string $review, int $rating){}