actionsResultsDAO = $actionsResultsDAO; } /** * {@inheritdoc} * * @see \Infinito\Domain\DataAccessManagement\ActionsDAOInterface::isDataStored() */ public function isDataStored(string $actionType): bool { return $this->actionsResultsDAO->isDataStored($actionType); } /** * {@inheritdoc} * * @see \Infinito\Domain\DataAccessManagement\ActionsDAOInterface::getAllStoredData() */ public function getAllStoredData(): Collection { $storedData = new ArrayCollection(); $allProccessedDataKeys = $this->actionsResultsDAO->getAllStoredData()->getKeys(); foreach ($allProccessedDataKeys as $key) { $viewData = $this->getData($key); $storedData->set($key, $viewData); } return $storedData; } /** * @todo Implement the mapping * {@inheritdoc} * * @see \Infinito\Domain\DataAccessManagement\ActionsDAOInterface::getData() */ public function getData(string $actionType) { return $this->actionsResultsDAO->getData($actionType); } }