silverstripe-framework/tests/php/Core/ObjectTest/ExtendTestBase.php
2024-09-18 13:53:44 +12:00

21 lines
465 B
PHP

<?php
namespace SilverStripe\Core\Tests\ObjectTest;
class ExtendTestBase extends BaseObject
{
private static $extensions = [
ExtendTest1::class,
ExtendTest2::class,
];
public function extendableMethod(&$argument = null, &$argument2 = null)
{
$args = implode(',', array_filter(func_get_args()));
if ($argument2) {
$argument2 = 'objectmodified';
}
return "ExtendTestBase($args)";
}
}