silverstripe-framework/tests/php/Core/ObjectTest/ExtendTest1.php
2016-12-19 16:08:19 +13:00

17 lines
288 B
PHP

<?php
namespace SilverStripe\Core\Tests\ObjectTest;
use SilverStripe\Core\Extension;
class ExtendTest1 extends Extension
{
public function extendableMethod(&$argument = null)
{
if ($argument) {
$argument = 'modified';
}
return null;
}
}