src/Knp/DictionaryBundle/Dictionary/DictionaryRegistry.php
public function offsetGet($offset)
    {
        if (false === $this->offsetExists($offset)) {
            throw new DictionaryNotFoundException($offset, array_keys($this->dictionaries));
        }

        return $this->get($offset);
    }
public function offsetGet($offset)
    {
        if (false === $this->offsetExists($offset)) {
            throw new DictionaryNotFoundException($offset, array_keys($this->dictionaries));
        }

        return $this->get($offset);
    }
{@inheritdoc}

@return Dictionary

@throw DictionaryNotFoundException