silverstripe-framework/tests/php/ORM/DataExtensionTest/AllMethodNames.php

18 lines
379 B
PHP
Raw Permalink Normal View History

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;
2024-08-23 09:09:43 +02:00
use SilverStripe\Core\Extension;
2016-10-14 03:30:05 +02:00
2024-08-23 09:09:43 +02:00
class AllMethodNames extends Extension implements TestOnly
2016-10-14 03:30:05 +02:00
{
public function allMethodNames()
{
return [
strtolower('getTestValueWith_' . ClassInfo::shortName($this->owner))
];
}
2016-10-14 03:30:05 +02:00
}