public function get($name)
    {
        if (!$this->exists($name)) {
            throw new \OutOfBoundsException(sprintf('Undefined offset "%s"', $name));
        }

        return $this->objects[(string)$name];
    }