@@ -30,13 +30,13 @@ public function generate(array $properties): Struct\Info
3030 */
3131 public function getAll ($ field , $ value )
3232 {
33- $ packet = $ this ->_client ->getPacket ();
34- $ getTag = $ packet ->addChild ($ this ->_wrapperTag )->addChild ('get-pool ' );
33+ $ packet = $ this ->client ->getPacket ();
34+ $ getTag = $ packet ->addChild ($ this ->wrapperTag )->addChild ('get-pool ' );
3535
3636 $ filterTag = $ getTag ->addChild ('filter ' );
3737 $ filterTag ->addChild ($ field , $ value );
3838
39- $ response = $ this ->_client ->request ($ packet , \PleskX \Api \Client::RESPONSE_FULL );
39+ $ response = $ this ->client ->request ($ packet , \PleskX \Api \Client::RESPONSE_FULL );
4040
4141 $ items = [];
4242 foreach ($ response ->xpath ('//result/certificates ' ) as $ xmlResult ) {
@@ -54,8 +54,8 @@ public function getAll($field, $value )
5454 */
5555 public function install ($ properties )
5656 {
57- $ packet = $ this ->_client ->getPacket ();
58- $ install = $ packet ->addChild ($ this ->_wrapperTag )->addChild ('install ' );
57+ $ packet = $ this ->client ->getPacket ();
58+ $ install = $ packet ->addChild ($ this ->wrapperTag )->addChild ('install ' );
5959
6060 foreach ($ properties as $ name => $ value ) {
6161 if ($ name == 'content ' ) {
@@ -71,7 +71,7 @@ public function install($properties)
7171 $ install ->addChild ($ name , $ value );
7272 }
7373
74- $ response = $ this ->_client ->request ($ packet );
74+ $ response = $ this ->client ->request ($ packet );
7575 return new Struct \InstallInfo ($ response );
7676 }
7777
@@ -82,8 +82,8 @@ public function install($properties)
8282 */
8383 public function remove ($ properties )
8484 {
85- $ packet = $ this ->_client ->getPacket ();
86- $ removeNode = $ packet ->addChild ($ this ->_wrapperTag )->addChild ('remove ' );
85+ $ packet = $ this ->client ->getPacket ();
86+ $ removeNode = $ packet ->addChild ($ this ->wrapperTag )->addChild ('remove ' );
8787
8888 foreach ($ properties as $ key => $ value ) {
8989 if ( $ key == 'filter ' ) {
@@ -99,7 +99,7 @@ public function remove($properties)
9999 $ removeNode ->addChild ($ key , $ value );
100100 }
101101
102- $ response = $ this ->_client ->request ($ packet );
102+ $ response = $ this ->client ->request ($ packet );
103103
104104 return new Struct \RemoveInfo ( $ response );
105105 }
0 commit comments