2016-10-14 14:30:05 +13:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\ORM\Tests\DataExtensionTest;
|
|
|
|
|
2016-11-13 20:35:43 +13:00
|
|
|
use SilverStripe\Core\ClassInfo;
|
2016-10-14 14:30:05 +13:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
use SilverStripe\ORM\DataExtension;
|
|
|
|
|
|
|
|
class AllMethodNames extends DataExtension implements TestOnly
|
|
|
|
{
|
2016-12-16 17:34:21 +13:00
|
|
|
public function allMethodNames()
|
|
|
|
{
|
2020-04-20 18:58:09 +01:00
|
|
|
return [
|
2016-12-16 17:34:21 +13:00
|
|
|
strtolower('getTestValueWith_' . ClassInfo::shortName($this->owner))
|
2020-04-20 18:58:09 +01:00
|
|
|
];
|
2016-12-16 17:34:21 +13:00
|
|
|
}
|
2016-10-14 14:30:05 +13:00
|
|
|
}
|