mageekguy\atoum\reports\asynchronous\coveralls::build PHP Method

build() public method

public build ( $event )
    public function build($event)
    {
        if ($event === atoum\runner::runStop) {
            $coverage = $this->makeRootElement($this->score->getCoverage());
            $this->string = json_encode($coverage);
        }
        return $this;
    }