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

17 lines
252 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 ExtendTest1 extends Extension
{
public function extendableMethod(&$argument = null)
{
if ($argument) {
$argument = 'modified';
}
return null;
}
}