Skip to content

Instantly share code, notes, and snippets.

View jaspernbrouwer's full-sized avatar

Jasper N. Brouwer jaspernbrouwer

View GitHub Profile
jaspernbrouwer /
Created June 10, 2016 15:08
Keybase proof

Keybase proof

I hereby claim:

  • I am jaspernbrouwer on github.
  • I am jaspernbrouwer ( on keybase.
  • I have a public key ASDdpl8LobuCrxQYpQGVm6_elI_UkwgD_doqFKtE9aKfPwo

To claim this, I am signing this object:

jaspernbrouwer / one-to-many-to-one.php
Created December 8, 2012 14:34
Basic Doctrine 2 one-to-many/many-to-one association setup
* This is a basic setup for Doctrine 2 one-to-many/many-to-one associations.
* There are many alternative approaches, additions and optimizations possible,
* but this example is only meant to help people getting started with the concept.
namespace My\Entity;
jaspernbrouwer / ValidateSchemaCommand.php
Created April 5, 2012 19:24
Symfony 2 console command proxy for Doctrine's ValidateSchemaCommand
// src/Nw/LibBundle/Command/ValidateSchemaCommand.php
namespace Nw\LibBundle\Command;
use Symfony\Bundle\DoctrineBundle\Command\Proxy\DoctrineCommandHelper;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;