d3hog/stats_test.php
Andrew Tomaka 4124cd55f3 Abstract Stats Collection
Abstract the stats collection portions of DPClass so that additional
providers might easily be substituted in the future.  Initial abstract
is weak and can expand when an additional provider is actually found.
2013-03-05 00:22:17 -05:00

9 lines
No EOL
247 B
PHP

<?php
include_once(__DIR__ . '/libs/stats.php');
$stats = StatsFactory::createStatsObject('http://www.diabloprogress.com/hero/celanian-1548/HsuMing/21706367');
print_r($stats->class);
echo "\n\n";
print_r($stats->stats);
echo "\n\n";