diff options
Diffstat (limited to 'framework/interfaces.php')
-rw-r--r-- | framework/interfaces.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/interfaces.php b/framework/interfaces.php index 31bbefd7..747d5b02 100644 --- a/framework/interfaces.php +++ b/framework/interfaces.php @@ -63,6 +63,14 @@ interface IService */
public function setID($id);
/**
+ * @return boolean whether the service is enabled
+ */
+ public function getEnabled();
+ /**
+ * @param boolean whether the service is enabled
+ */
+ public function setEnabled($value);
+ /**
* Runs the service.
*/
public function run();
|