Kahlan\Reporter\Dot::end PHP Method

end() public method

Callback called at the end of specs processing.
public end ( object $summary )
$summary object The execution summary instance.
    public function end($summary)
    {
        do {
            $this->_write(' ');
        } while ($this->_counter % $this->_dotWidth !== 0);
        $this->write("\n");
        foreach ($summary->logs() as $log) {
            if (!$log->passed()) {
                $this->_report($log);
            }
        }
        $this->write("\n\n");
        $this->_reportSummary($summary);
    }