Unable to Use SoapClient

Hello Support,

I am new to Yii 2.0. I have installed php-soap and I can access SoapClient from php. However, when I create a library file in common/libraries. I am not able to access SoapClient.

A help is much appreciated as I am stick here.

Many Thanks,


What exactly do you mean by "not able to access"? Are you aware of PHP namespaces i.e. tried \SoapClient instead of SoapClient?