| 1 | <?php |
||
| 11 | abstract class AbstractTransformer extends TransformerAbstract |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var boolean |
||
| 15 | */ |
||
| 16 | protected $includeData = false; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Construct |
||
| 20 | * |
||
| 21 | * @param boolean $includeData Boolean Include Data |
||
| 22 | */ |
||
| 23 | 2 | public function __construct($includeData = false) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Has Include Data |
||
| 30 | * |
||
| 31 | * @return boolean |
||
| 32 | */ |
||
| 33 | 2 | public function hasIncludeData() |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Format Date |
||
| 40 | * |
||
| 41 | * @param DateTime $date Date Time |
||
| 42 | * @param string $format String Format |
||
| 43 | * |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 1 | public function formatDate($date, $format) |
|
| 54 | } |
||
| 55 |