mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
0f386039df
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
14 lines
205 B
PHP
14 lines
205 B
PHP
<?php
|
|
|
|
namespace SilverStripe\View\Tests\ViewLayerDataTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class GetCountObject implements TestOnly
|
|
{
|
|
public function getCount(): int
|
|
{
|
|
return 12;
|
|
}
|
|
}
|