src/Tasks/PopulateThemeSampleDataTask.php
protected function output($message)
    {
        if (Director::is_cli()) {
            $message .= PHP_EOL;
        } else {
            $message = sprintf('<p>%s</p>', $message);
        }
        echo $message;

        return $this;
    }
protected function output($message)
    {
        if (Director::is_cli()) {
            $message .= PHP_EOL;
        } else {
            $message = sprintf('<p>%s</p>', $message);
        }
        echo $message;

        return $this;
    }
protected function output ( $ message ) { if ( Director :: is_cli ( ) ) { $ message .= PHP_EOL ; } else { $ message = sprintf ( '<p>%s</p>' , $ message ) ; } echo $ message ; return $ this ; }
Output a message either to the console or browser

@param  string $message
@return $this
Output a message either to the console or browser