You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Check interface will be implemented by all concrete check classes. Using an interface helps to define required methods for checks and enforce those on concrete check classes. This ensures that these methods are available to use by other structures in the plugin reliably. Currently, the interface will likely define a single run method but this may be expanded on in the future.
Acceptance Criteria
A new Check interface class is created
The Check interface contains a single public run() method
The run method accepts a single $result parameter
The $result parameter is an instance of the Check_Result class
Full method - public function run( Check_Result $result )
If the Check_Result class does not exist in the repo, create an empty Check_Result class as a scaffold to be implemented in Create Check_Result class #11
The Check interface will be implemented by all concrete check classes. Using an interface helps to define required methods for checks and enforce those on concrete check classes. This ensures that these methods are available to use by other structures in the plugin reliably. Currently, the interface will likely define a single run method but this may be expanded on in the future.
Acceptance Criteria
Checkinterface class is createdCheckinterface contains a single publicrun()method$resultparameter$resultparameter is an instance of theCheck_Resultclasspublic function run( Check_Result $result )Check_Resultclass does not exist in the repo, create an emptyCheck_Resultclass as a scaffold to be implemented in Create Check_Result class #11