public function get($key)
    {
        if (!isset($this->instances[$key])) {
            throw new \LogicException('No instance for given key! (key: ' . $key . ')');
        }

        return $this->instances[$key];
    }