mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 02:01:24 +02:00
18 lines
339 B
PHP
18 lines
339 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core\Tests\ObjectTest;
|
|
|
|
use SilverStripe\Core\Extension;
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class ExtendTest1 extends Extension implements TestOnly
|
|
{
|
|
public function extendableMethod(&$argument = null)
|
|
{
|
|
if ($argument) {
|
|
$argument = 'modified';
|
|
}
|
|
return null;
|
|
}
|
|
}
|