File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ public function initialize(Array $config)
17
17
18
18
// App::import('Vendor', 'FloodgateCake.FloodgateSDK/filename');
19
19
20
- $ user = new \FloodgateSDK \User ('id ' );
21
- $ client = new FloodgateClient ($ sdkkey );
22
- // $client = new \FloodgateCake\FloodgateSDK\FloodgateClient\FloodgateClient($sdkkey);
20
+ // $user = new \FloodgateSDK\User('id');
21
+ // $client = new FloodgateClient($sdkkey);
22
+ // // $client = new \FloodgateCake\FloodgateSDK\FloodgateClient\FloodgateClient($sdkkey);
23
23
24
24
25
25
26
- debug ($ client );
26
+ // debug($client);
27
27
}
28
28
29
29
public function doComplexOperation ($ amount1 , $ amount2 )
Original file line number Diff line number Diff line change 6
6
use Cake \Core \PluginApplicationInterface ;
7
7
use Cake \Core \Configure ;
8
8
use Cake \Utility \Hash ;
9
+ use FloodgateSDK \FloodgateClient ;
9
10
10
11
/**
11
12
* Plugin for FloodgateCake
@@ -26,6 +27,7 @@ public function bootstrap(PluginApplicationInterface $app)
26
27
throw new \InvalidArgumentException ('Floodgate SDK Key not provided. ' );
27
28
}
28
29
29
-
30
+ $ client = new FloodgateClient ($ sdkkey );
31
+ debug ($ client );
30
32
}
31
33
}
You can’t perform that action at this time.
0 commit comments