mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
API CHANGE: Pass Object::create() calls to Injector::create(). API CHANGE: Add "RequestProcessor" injection point in Director, that Director will call preRequest() and postRequest() on.
12 lines
217 B
PHP
12 lines
217 B
PHP
<?php
|
|
|
|
class SampleService
|
|
{
|
|
public $constructorVarOne;
|
|
public $constructorVarTwo;
|
|
|
|
public function __construct($v1 = null, $v2 = null) {
|
|
$this->constructorVarOne = $v1;
|
|
$this->constructorVarTwo = $v2;
|
|
}
|
|
} |