silverstripe-framework/tests/php/View/ViewLayerDataTest/CountableObject.php
Guy Sartorelli cd8090d247
API Refactor template layer into its own module
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
2024-10-14 14:52:36 +13:00

15 lines
229 B
PHP

<?php
namespace SilverStripe\View\Tests\ViewLayerDataTest;
use Countable;
use SilverStripe\Dev\TestOnly;
class CountableObject implements Countable, TestOnly
{
public function count(): int
{
return 53;
}
}