Ejemplo n.º 1
0
 /**
  * @expectedException UndefinedEndpointException
  */
 public function testUndefinedSecondLevel()
 {
     $schoolAdmins = CleverSchoolAdmin::all(array('limit' => 1));
     $schoolAdmin = $schoolAdmins[0];
     $objs = $schoolAdmin->eventz();
 }
Ejemplo n.º 2
0
 public static function init()
 {
     self::$secondLevelEndpoints = array('schools' => array(), 'events' => array());
 }