Skip to content

Instantly share code, notes, and snippets.

Avatar

Stephan Hochdörfer shochdoerfer

View GitHub Profile
View docker-compose.yml
version: "2"
services:
app:
build: .
environment:
- MYSQL_DATABASE=mydb
- MYSQL_USER=myuser
- MYSQL_PASSWORD=mypwd
- MYSQL_HOST=mysql
links:
@shochdoerfer
shochdoerfer / DomainPayload.php
Last active Nov 10, 2015
DomainPayloadInterface.php
View DomainPayload.php
<?php
/**
* The domain payload object represents the domain's data it's state and type
*
* @api
*/
class DomainPayload implements DomainPayloadInterface
{
/**
View keybase.md

Keybase proof

I hereby claim:

  • I am shochdoerfer on github.
  • I am shochdoerfer (https://keybase.io/shochdoerfer) on keybase.
  • I have a public key whose fingerprint is 9988 D386 60C9 DBE8 307A 3723 30C3 3346 FC80 D91D

To claim this, I am signing this object:

View di.php
// describe dependency
$dep = new \Zend\Di\Definition\Builder\PhpClass();
$dep->setName('my\TalkRepository');
// describe class
$class = new \Zend\Di\Definition\Builder\PhpClass();
$class->setName('my\TalkService');
// add injection method
$im = new \Zend\Di\Definition\Builder\InjectionMethod();
You can’t perform that action at this time.