PhpBench\Registry\Config::offsetGet PHP Method

offsetGet() public method

public offsetGet ( $offset )
    public function offsetGet($offset)
    {
        if (!$this->offsetExists($offset)) {
            throw new \InvalidArgumentException(sprintf('Configuration offset "%s" does not exist. Known offsets: "%s"', $offset, implode('", "', array_keys($this->getArrayCopy()))));
        }
        return parent::offsetGet($offset);
    }