3 namespace Drupal\drupalmoduleupgrader;
6 * Defines a report generated by the dmu-analyze command. Issues returned by
7 * analyzers are added to this report, then it's handed off to the theme system.
9 interface ReportInterface {
12 * Adds an issue to this module.
14 * @param IssueInterface $issue
19 public function addIssue(IssueInterface $issue);
22 * Returns all issues collected so far, optionally filtered by a tag.
24 * @param string|NULL $tag
25 * (optional) A tag name. If set, only issues which have this tag will
26 * be returned (regardless of the tag's value in each issue -- it's up to
27 * the calling code to do any further filtering).
29 * @return IssueInterface[]
31 public function getIssues($tag = NULL);