src/Mutant/MetricsCalculator.php
public static function createFromArray(array $mutantProcesses): self
    {
        $self = new self();

        foreach ($mutantProcesses as $process) {
            $self->collect($process);
        }

        return $self;
    }
public static function createFromArray(array $mutantProcesses): self
    {
        $self = new self();

        foreach ($mutantProcesses as $process) {
            $self->collect($process);
        }

        return $self;
    }
public static function createFromArray ( array $ mutantProcesses ) : self { $ self = new self ( ) ; foreach ( $ mutantProcesses as $ process ) { $ self -> collect ( $ process ) ; } return $ self ; }
Build a metric calculator with a sub-set of mutators

@param MutantProcessInterface[] $mutantProcesses

@return MetricsCalculator
Build a metric calculator with a sub - set of mutators