silverstripe-framework/tests/php/ORM/DataExtensionTest/AllMethodNames.php
2016-11-23 19:25:12 +13:00

18 lines
361 B
PHP

<?php
namespace SilverStripe\ORM\Tests\DataExtensionTest;
use SilverStripe\Core\ClassInfo;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataExtension;
class AllMethodNames extends DataExtension implements TestOnly
{
public function allMethodNames()
{
return array(
strtolower('getTestValueWith_' . ClassInfo::shortName($this->owner))
);
}
}