Skip to content

Instantly share code, notes, and snippets.

View motoom's full-sized avatar

Michiel Overtoom motoom

  • Groningen, Netherlands
View GitHub Profile
@motoom
motoom / MetaObject.php
Created August 31, 2011 13:44 — forked from CHH/MetaObject.php
PHP does Meta Programming too! (Requires PHP 5.4)
<?php
namespace CHH;
trait MetaObject
{
protected static $metaClass;
static function setMetaClass(MetaClass $metaClass)
{