silverstripe-framework/tests/php/ORM/DataExtensionTest/AllMethodNames.php
2024-08-28 17:00:39 +12:00

18 lines
379 B
PHP

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