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

newInstance() 공개 메소드

Return a new instance of row using the given data but keeping the metadata for this row.
public newInstance ( array $array ) : Row
$array array
리턴 Row
    public function newInstance(array $array)
    {
        $duplicate = new self($array);
        $duplicate->setFormatParams($this->getFormatParams());
        return $duplicate;
    }