Skip to content

Instantly share code, notes, and snippets.

Peter Smith orukusaki

  • SensioLabs UK
  • Sheffield, UK
Block or report user

Report or block orukusaki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View TypedList.php
<?php
function loader($class) {
if (strpos($class, 'List') !== false) {
eval("class $class extends TypedList {}");
}
}
spl_autoload_register('loader');
abstract class TypedList extends ArrayObject
You can’t perform that action at this time.