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