mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
25126267af
Includes the following large-scale changes: - Impoved barrier between model and view layers - Improved casting of scalar to relevant DBField types - Improved capabilities for rendering arbitrary data in templates
16 lines
356 B
PHP
16 lines
356 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Control\Tests\ControllerTest;
|
|
|
|
use SilverStripe\Control\Controller;
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\View\TemplateEngine;
|
|
|
|
class ControllerWithDummyEngine extends Controller implements TestOnly
|
|
{
|
|
protected function getTemplateEngine(): TemplateEngine
|
|
{
|
|
return new DummyTemplateEngine();
|
|
}
|
|
}
|