mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
20 lines
313 B
PHP
20 lines
313 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\Core\Tests\ClassInfoTest;
|
||
|
|
||
|
use SilverStripe\Core\CustomMethods;
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
|
||
|
/**
|
||
|
* Example of class with hasMethod() implementation
|
||
|
*/
|
||
|
class HasMethod implements TestOnly
|
||
|
{
|
||
|
use CustomMethods;
|
||
|
|
||
|
public function example()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
}
|