Subversion Repositories oidplus

Rev

Rev 1086 | Rev 1185 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1086 Rev 1116
Line 23... Line 23...
23
\defined('INSIDE_OIDPLUS') or die;
23
\defined('INSIDE_OIDPLUS') or die;
24
// phpcs:enable PSR1.Files.SideEffects
24
// phpcs:enable PSR1.Files.SideEffects
25
 
25
 
26
abstract class OIDplusLoggerPlugin extends OIDplusPlugin {
26
abstract class OIDplusLoggerPlugin extends OIDplusPlugin {
27
 
27
 
-
 
28
        /**
-
 
29
         * @param string $event
-
 
30
         * @param array<int,string>[] $users Array of "Severity => username"
-
 
31
         * @param array<int,string>[] $objects Array of "Severity => objectname"
-
 
32
         * @return bool
-
 
33
         */
28
        public abstract static function log($event, $users, $objects)/*: bool*/;
34
        public abstract static function log(string $event, array $users, array $objects): bool;
-
 
35
 
-
 
36
        /**
-
 
37
         * @param string $reason
-
 
38
         * @return bool
-
 
39
         */
29
        public abstract static function available(&$reason)/*: bool*/;
40
        public abstract static function available(string &$reason): bool;
30
 
41
 
31
}
42
}