mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b269badfbe
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;
|
|
}
|
|
} |