public function toArray()
{
return $this->data;
}
/** * Retrieve the data layer's data for the next request. * * @return array */ public function getFlashData() { return $this->flashDataLayer->toArray(); }