mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-05 01:01:17 +02:00
23 lines
453 B
PHP
23 lines
453 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core\Tests\ObjectTest;
|
|
|
|
use SilverStripe\Core\Extension;
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class ExtendTest3 extends Extension implements TestOnly
|
|
{
|
|
protected $constructorArgs = [];
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->constructorArgs = func_get_args();
|
|
}
|
|
|
|
public function extendableMethod($argument = null)
|
|
{
|
|
return "ExtendTest3($argument)";
|
|
}
|
|
}
|