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

22 lines
422 B
PHP
Raw Normal View History

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