建议采用psr-4的规范避免冲突

This commit is contained in:
clamp
2017-03-31 20:03:36 +08:00
parent 9f3ae1e34d
commit 1db0c71955
2 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,8 @@
"ext-curl": "*"
},
"autoload": {
"files": ["Meting.php"]
"psr-4": {
"Meting" : "src/"
}
}
}

View File

@@ -7,7 +7,7 @@
* Copyright 2017, METO Sheel <i@i-meto.com>
* Released under the MIT license
*/
namespace Meting;
class Meting
{
protected $_SITE;