private static function stash($where, $class_name, $block) { $class_name = absolute_class_name($class_name); if ($block === null) { $proxy = new Forward(); self::$forwards[$class_name][] = array($where, $proxy); return $proxy; } else { self::$forwards[$class_name][] = array($where, $block); return; } }
public static function lookup($class) { return self::get_class_definition(absolute_class_name($class)); }