diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index a4caf9fde..b338bde5b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -5576,4 +5576,8 @@ return $rc; } + function implements_interface($class, $interface) { + return in_array($interface, class_implements($class)); + } + ?> |