I hereby claim:
- I am sdecandelario on github.
- I am sdecandelario (https://keybase.io/sdecandelario) on keybase.
- I have a public key ASD3j1WhgRY-5yrEiz3NMluxNHLv8cSHNzoWHU08lehh5Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
apt-get update | |
apt-get install -y nodejs npm | |
git clone https://github.com/juanmaguitar/fullstack-mini-project.git "$HOME/application" | |
cd "$HOME/application" || exit 0 | |
git checkout 99c6efa | |
npm install | |
cat <<EOT > /etc/rc.local | |
#!/bin/bash |
class AggregateRoot | |
{ | |
private $recordedEvents = []; | |
protected function recordApplyAndPublishThat(DomainEvent $domainEvent) | |
{ | |
$this->recordThat($domainEvent); | |
$this->applyThat($domainEvent); | |
$this->publishThat($domainEvent); | |
} |