Source of file ViewableDataInterface.php
Size: 0,625 Bytes - Last Modified: 2021-12-24T06:51:36+00:00
/var/www/docs.ssmods.com/process/src/src/ViewableData/ViewableDataInterface.php
1234567891011121314151617181920212223242526 | <?php namespace Heystack\Core\ViewableData; /** * Implementing class can be wrapped in a ViewableDataFormattor and then used in templates * * @author Cam Spiers <cameron@heyday.co.nz> * @author Glenn Bautista <glenn@heyday.co.nz> * @package Heystack */ interface ViewableDataInterface { /** * Defines what methods the implementing class implements dynamically through __get and __set * @return array */ public function getDynamicMethods(); /** * Returns an array of SilverStripe DBField castings keyed by field name * @return array */ public function getCastings(); } |