/** * Export this Entity collection. Default is array. * * @param \Hynage\ORM\ExportStrategy\Exporting $strategy * @return mixed */ public function export(ExportStrategy\Exporting $strategy) { return $strategy->exportCollection($this); }
/** * Export this Entity. Default is array. * * @param \Hynage\ORM\ExportStrategy\Exporting $strategy * @return mixed */ public function export(ExportStrategy\Exporting $strategy) { return $strategy->exportEntity($this); }