silverstripe-framework/tests/php/Core/ObjectTest/ExtendTest2.php

15 lines
293 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Core\Tests\ObjectTest;
use SilverStripe\Core\Extension;
class ExtendTest2 extends Extension
{
public function extendableMethod($argument = null)
{
$args = implode(',', array_filter(func_get_args()));
return "ExtendTest2($args)";
}
2016-10-14 03:30:05 +02:00
}