* Updated composer.json to allow for autoloading * Updated class to add namespacing
@@ -23,6 +23,11 @@
"require": {
"ext-Zend-OPcache": "*",
"php": ">=5.4"
+ },
+ "autoload": {
+ "psr-4" : {
+ "OpcacheGui\\" : "/"
+ }
}
@@ -1,5 +1,7 @@
<?php
+namespace OpcacheGui;
+
/**
* OPcache GUI
*