Exemple #1
0
 /**
  * Clear out the routing table
  */
 public static function clear()
 {
     self::$routes = array();
 }
Exemple #2
0
 public function test_draw()
 {
     Pigeon::$routes = array('some', 'array', 'here');
     $this->assertEquals(Pigeon::$routes, Pigeon::draw());
 }