Skip to content

Instantly share code, notes, and snippets.

@jrbasso
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrbasso/031fffc8f5eeaf872d4e to your computer and use it in GitHub Desktop.
Save jrbasso/031fffc8f5eeaf872d4e to your computer and use it in GitHub Desktop.
<?php
namespace Cake;
class Router {
protected static $_collection;
protected static $_vars;
public static function test() {
static::$_collection = new \stdClass();
static::$_vars = get_class_vars(get_called_class());
}
}
Router::test();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment