public function getCollection(string $identifier): Collection
    {
        if (!$this->hasCollection($identifier)) {
            throw BlockException::noCollection($identifier);
        }

        return $this->collections->get($identifier);
    }