File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1616 }
1717 ],
1818 "autoload" : {
19- "psr-0" : {
20- "Qcloud\\ Cos\\ " : " src/"
21- }
19+ "psr-4" : {
20+ "Qcloud\\ Cos\\ " : " src/Qcloud/Cos/"
21+ },
22+ "files" : [" src/Qcloud/Cos/Common.php" ]
2223 },
2324 "require" : {
2425 "php" : " >=5.3.0" ,
Original file line number Diff line number Diff line change 22
33namespace Qcloud \Cos ;
44
5- include ("Common.php " );
6-
75use Qcloud \Cos \Signature ;
86use GuzzleHttp \Client as HttpClient ;
97use GuzzleHttp \HandlerStack ;
7573 * @method object HeadBucket (array $arg)
7674 * @method object UploadPartCopy (array $arg)
7775 * @method object SelectObjectContent (array $arg)
76+ * @method object PutBucketIntelligentTiering (array $arg)
77+ * @method object GetBucketIntelligentTiering (array $arg)
7878 */
7979class Client extends GuzzleClient {
8080 const VERSION = '2.1.3 ' ;
@@ -92,7 +92,7 @@ class Client extends GuzzleClient {
9292 public function __construct ($ cosConfig ) {
9393 $ this ->rawCosConfig = $ cosConfig ;
9494 $ this ->cosConfig ['schema ' ] = isset ($ cosConfig ['schema ' ]) ? $ cosConfig ['schema ' ] : 'http ' ;
95- $ this ->cosConfig ['region ' ] = region_map ($ cosConfig ['region ' ]);
95+ $ this ->cosConfig ['region ' ] = region_map ($ cosConfig ['region ' ]);
9696 $ this ->cosConfig ['appId ' ] = isset ($ cosConfig ['credentials ' ]['appId ' ]) ? $ cosConfig ['credentials ' ]['appId ' ] : null ;
9797 $ this ->cosConfig ['secretId ' ] = isset ($ cosConfig ['credentials ' ]['secretId ' ]) ? $ cosConfig ['credentials ' ]['secretId ' ] : "" ;
9898 $ this ->cosConfig ['secretKey ' ] = isset ($ cosConfig ['credentials ' ]['secretKey ' ]) ? $ cosConfig ['credentials ' ]['secretKey ' ] : "" ;
You can’t perform that action at this time.
0 commit comments