You are here

function Drupali18nTestCase::printObject in Internationalization 6

Same name and namespace in other branches
  1. 7 i18n.test \Drupali18nTestCase::printObject()

Debug dump object with some formatting

File

tests/drupal_i18n_test_case.php, line 246

Class

Drupali18nTestCase
Test case for typical Drupal tests.

Code

function printObject($object, $title = 'Object') {
  $output = $this
    ->formatTable($object);
  $this
    ->printDebug($output, $title);
}