Location: PHPKode > scripts > Boris > boris-1.0.1/lib/Boris/DumpInspector.php
<?php

/* vim: set shiftwidth=2 expandtab softtabstop=2: */

namespace Boris;

/**
 * Passes values through var_dump() to inspect them.
 */
class DumpInspector implements Inspector {
  public function inspect($variable) {
    ob_start();
    var_dump($variable);
    return trim(ob_get_clean());
  }
}
Return current item: Boris