18 lines
339 B
PHP
Raw Normal View History

2016-10-14 14:30:05 +13:00
<?php
namespace SilverStripe\Core\Tests\ObjectTest;
use SilverStripe\Core\Extension;
use SilverStripe\Dev\TestOnly;
2016-10-14 14:30:05 +13:00
class ExtendTest1 extends Extension implements TestOnly
2016-10-14 14:30:05 +13:00
{
public function extendableMethod(&$argument = null)
{
if ($argument) {
$argument = 'modified';
}
return null;
}
2016-10-14 14:30:05 +13:00
}