silverstripe-framework/tests/php/Dev/DeprecationTest/TestDeprecation.php
2016-11-23 19:25:12 +13:00

19 lines
357 B
PHP

<?php
namespace SilverStripe\Dev\Tests\DeprecationTest;
use SilverStripe\Dev\Deprecation;
class TestDeprecation extends Deprecation
{
public static function get_module()
{
return self::get_calling_module_from_trace(debug_backtrace(0));
}
public static function get_method()
{
return self::get_called_method_from_trace(debug_backtrace(0));
}
}