public function getAll(): Data
    {
        $data = new Data;

        foreach ($this->statCollection as $stat) {
            $datum = $stat->get();
            $data->getCollection()->add($datum);
        }

        return $data;
    }
public function getAll(): Data
    {
        $data = new Data;

        foreach ($this->statCollection as $stat) {
            $datum = $stat->get();
            $data->getCollection()->add($datum);
        }

        return $data;
    }
public function getAll ( ) : Data { $ data = new Data ; foreach ( $ this -> statCollection as $ stat ) { $ datum = $ stat -> get ( ) ; $ data -> getCollection ( ) -> add ( $ datum ) ; } return $ data ; }
Get all statistic data

@return \Ds\Component\Statistic\Model\Data
Get all statistic data