Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Formatters for specific Tasks #18

Closed
veewee opened this issue May 26, 2015 · 1 comment
Closed

Add Formatters for specific Tasks #18

veewee opened this issue May 26, 2015 · 1 comment
Assignees
Milestone

Comments

@veewee
Copy link
Contributor

veewee commented May 26, 2015

As mentioned in #14, the Task::run() method can be very large if custom formatting is added.
Therefor a Formatter interface will be available. It will look something like this:

interface Formatter 
{
    public function formatErrorMessage($output);
    public function formatSuccessMessage($output);
}

The implementation could also format success / error messages to a specific treshold.

@veewee
Copy link
Contributor Author

veewee commented Apr 29, 2016

Fixed in #142

@veewee veewee closed this as completed Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant