mageekguy\atoum\report\fields\runner\event\santa::__toString PHP Method

__toString() public method

public __toString ( )
    public function __toString()
    {
        if (microtime(true) - $this->utime < self::refreshDelay) {
            return '';
        }
        $string = PHP_EOL;
        if ($this->event !== runner::runStop) {
            $string .= $this->clear();
            for ($row = 0, $count = sizeof($this->sprite); $row < $count; $row++) {
                $string .= $this->getSnow() . $this->sprite[$row] . $this->getSnow() . PHP_EOL;
            }
            $string .= PHP_EOL;
            $this->santa = $string;
        }
        $this->utime = microtime(true);
        return $string;
    }