src/Statistic/Service/StatisticService.php
public function get(string $alias)
    {
        $stat = $this->statCollection->filter(function($element) use($alias) {
            return $element->getAlias() === $alias;
        })->first();

        if (!$stat) {
            throw new InvalidAliasException('Stat alias "'.$alias.'" does not exist.');
        }

        $datum = $stat->get();

        return $datum;
    }
public function get(string $alias)
    {
        $stat = $this->statCollection->filter(function($element) use($alias) {
            return $element->getAlias() === $alias;
        })->first();

        if (!$stat) {
            throw new InvalidAliasException('Stat alias "'.$alias.'" does not exist.');
        }

        $datum = $stat->get();

        return $datum;
    }
Get a statistic datum

@param string $alias
@return \Ds\Component\Statistic\Model\Datum
@throws \Ds\Component\Statistic\Exception\InvalidAliasException