createCallback. * */ class Callback extends Resource { protected static $_uri_spec = null; public static function init() { self::$_uri_spec = new URISpec('callbacks', 'id'); self::$_registry->add(get_called_class()); } }