PhpBench\Report\Generator\Table\Row::offsetGet PHP 메소드

offsetGet() 공개 메소드

Throw an exception if the given offset does not exist.
public offsetGet ( $offset )
    public function offsetGet($offset)
    {
        if (!$this->offsetExists($offset)) {
            throw new \InvalidArgumentException(sprintf('Column "%s" does not exist, valid columns: "%s"', $offset, implode('", "', array_keys($this->getArrayCopy()))));
        }
        return parent::offsetGet($offset);
    }