silverstripe-framework/tests/php/ORM/DataExtensionTest/AllMethodNames.php
2016-12-19 16:08:19 +13:00

18 lines
391 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))
);
}
}