Skip to content

Instantly share code, notes, and snippets.

@mbrowne
mbrowne / dci.php
Last active December 14, 2015 06:49
(Hacky) DCI in PHP 5.4
<?php
/***********************************************************************
UPDATE: See my improved example: https://gist.github.com/mbrowne/5047982
************************************************************************/
ini_set('display_errors', 1);
trait AssignableToRole
{