silverstripe-framework/tests/php/Core/Injector/InjectorTest/OtherTestObject.php

22 lines
335 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Core\Tests\Injector\InjectorTest;
use SilverStripe\Dev\TestOnly;
class OtherTestObject implements TestOnly
{
private $sampleService;
2016-10-14 03:30:05 +02:00
public function setSampleService($s)
{
$this->sampleService = $s;
}
2016-10-14 03:30:05 +02:00
public function s()
{
return $this->sampleService;
}
2016-10-14 03:30:05 +02:00
}