mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
20 lines
322 B
PHP
20 lines
322 B
PHP
<?php
|
|
|
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class StubA implements TestOnly
|
|
{
|
|
public function i18n_singular_name()
|
|
{
|
|
$class = get_class($this);
|
|
return substr($class ?? '', -1);
|
|
}
|
|
|
|
public function canCreate()
|
|
{
|
|
return true;
|
|
}
|
|
}
|