Ejemplo n.º 1
0
 public function Test_get_this_object_attributes()
 {
     $expected_attributes = array('child_var' => null, 'child_var_null' => null, 'child_var_string' => 'abc', 'child_var_int' => 123);
     $resulting_attributes = AkDebug::get_this_object_attributes($this->AkTestingObjectInspectionChildInstance);
     $this->assertEqual($expected_attributes, $resulting_attributes);
 }
Ejemplo n.º 2
0
 /**
  * @deprecated
  * @uses  AkDebug::get_this_object_attributes
  */
 static function get_this_object_attributes($object)
 {
     Ak::deprecateMethod(__METHOD__, 'AkDebug::get_this_object_attributes()');
     return AkDebug::get_this_object_attributes($object);
 }