mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fba8e2c245
API DataObjectSchema::manyManyComponent() return array is now associative array
20 lines
318 B
PHP
20 lines
318 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core\Tests\ObjectTest;
|
|
|
|
class CacheTest extends BaseObject
|
|
{
|
|
public $count = 0;
|
|
|
|
public function cacheMethod($arg1 = null)
|
|
{
|
|
return ($arg1) ? 'hasarg' : 'noarg';
|
|
}
|
|
|
|
public function incNumber()
|
|
{
|
|
$this->count++;
|
|
return $this->count;
|
|
}
|
|
}
|