silverstripe-framework/tests/php/ORM/DataExtensionTest/AllMethodNames.php
2020-04-20 18:58:09 +01:00

18 lines
386 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 [
strtolower('getTestValueWith_' . ClassInfo::shortName($this->owner))
];
}
}