diff options
Diffstat (limited to 'lib/private/App/Platform.php')
-rw-r--r-- | lib/private/App/Platform.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/App/Platform.php b/lib/private/App/Platform.php index 4a64177232f..03e9c7d2767 100644 --- a/lib/private/App/Platform.php +++ b/lib/private/App/Platform.php @@ -97,4 +97,8 @@ class Platform { $repo = new PlatformRepository(); return $repo->findLibrary($name); } + + public function getArchitecture(): string { + return php_uname('m'); + } } |