Skip to content

Instantly share code, notes, and snippets.

View nick-mok's full-sized avatar

Nick Mok nick-mok

View GitHub Profile
@Mihailoff
Mihailoff / AnObj.php
Created September 11, 2012 18:17
PHP Anonymous Object
<?php
/**
* PHP Anonymous Object
*/
class AnObj
{
protected $methods = array();
public function __construct(array $options)