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

18 lines
391 B
PHP
Raw 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;
use SilverStripe\ORM\DataExtension;
class AllMethodNames extends DataExtension implements TestOnly
{
public function allMethodNames()
{
return array(
strtolower('getTestValueWith_' . ClassInfo::shortName($this->owner))
);
}
2016-10-14 03:30:05 +02:00
}