added IIssueExistsChecker and Issue<producer_Controller for detection of issues

This commit is contained in:
KarpAlex
2022-09-14 02:48:43 +02:00
parent 85a6fa5600
commit 0d03689f57
2 changed files with 107 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
/**
* Interface defining method to implement for issue producer (from core and extensions)
*/
interface IIssueExistsChecker
{
/**
* Checks if an issue exists.
* Classes for checking if a certain issue exists implement this method.
* @param array $params parameters needed for issue detection
* @return object with success(true) if issue exists, success(false) otherwise
*/
public function checkIfIssueExists($params);
}