public function get($key, \DatePeriod $period = null)
    {
        if (is_null($period)) {
            return new Value($this->repository->get($key));
        }

        return $this->getForPeriod($key, $period);
    }