Allow for the Opcache GUI to be autoloaded via Composer (#23)
* Updated composer.json to allow for autoloading * Updated class to add namespacing
This commit is contained in:
parent
4cc74c4174
commit
c9664f24db
2 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,11 @@
|
|||
"require": {
|
||||
"ext-Zend-OPcache": "*",
|
||||
"php": ">=5.4"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4" : {
|
||||
"OpcacheGui\\" : "/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace OpcacheGui;
|
||||
|
||||
/**
|
||||
* OPcache GUI
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue