1
0
mirror of https://e.coding.net/circlecloud/MinecraftAccount.git synced 2024-11-17 00:58:55 +00:00
MinecraftAccount/ThinkPHP/Library/Vendor/Boris/DumpInspector.php
j502647092 2003fda7cb 首次提交...
Signed-off-by: j502647092 <jtb1@163.com>
2015-11-01 22:25:03 +08:00

17 lines
322 B
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 sprintf(" → %s", trim(ob_get_clean()));
}
}