for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CWP\Core\Tests\AtomFeedTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\View\ViewableData;
class ItemC extends ViewableData implements TestOnly
{
// ItemC tests fields - Title has casting, Content doesn't.
private static $casting = [
$casting
'Title' => 'Varchar',
'AltContent' => 'Text',
];
public $Title = 'ItemC';
public function Title()
return "ItemC";
}
public function Content()
return "ItemC Content";
public $AltContent = "ItemC AltContent";
public function Link()
return "item-c.html";
public function AbsoluteLink()
return "http://www.example.com/item-c.html";