2016-10-14 03:30:05 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\Core\Tests\ObjectTest;
|
|
|
|
|
|
|
|
use SilverStripe\Core\Extension;
|
2017-05-17 07:40:13 +02:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
2016-10-14 03:30:05 +02:00
|
|
|
|
2017-05-17 07:40:13 +02:00
|
|
|
class ExtendTest3 extends Extension implements TestOnly
|
2016-10-14 03:30:05 +02:00
|
|
|
{
|
2017-05-17 07:40:13 +02:00
|
|
|
protected $constructorArgs = [];
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$this->constructorArgs = func_get_args();
|
|
|
|
}
|
|
|
|
|
2016-12-16 05:34:21 +01:00
|
|
|
public function extendableMethod($argument = null)
|
|
|
|
{
|
|
|
|
return "ExtendTest3($argument)";
|
|
|
|
}
|
2016-10-14 03:30:05 +02:00
|
|
|
}
|