public static function com()
    {
        if (isset(self::core()->com)) {
            return self::core()->com;
        }

        switch (self::configuration()->WsMethod) {
            case 'SOAP':
                self::log()->deb('Selected SOAP PHP Protocol for Communication');
                self::core()->com = new \Splash\Components\SOAP\SOAPInterface();

                break;
            case 'NuSOAP':
            default:
                self::log()->deb('Selected NuSOAP PHP Librarie for Communication');
                self::core()->com = new \Splash\Components\NuSOAP\NuSOAPInterface();

                break;
        }

        return self::core()->com;
    }
public static function com()
    {
        if (isset(self::core()->com)) {
            return self::core()->com;
        }

        switch (self::configuration()->WsMethod) {
            case 'SOAP':
                self::log()->deb('Selected SOAP PHP Protocol for Communication');
                self::core()->com = new \Splash\Components\SOAP\SOAPInterface();

                break;
            case 'NuSOAP':
            default:
                self::log()->deb('Selected NuSOAP PHP Librarie for Communication');
                self::core()->com = new \Splash\Components\NuSOAP\NuSOAPInterface();

                break;
        }

        return self::core()->com;
    }
public static function com ( ) { if ( isset ( self :: core ( ) -> com ) ) { return self :: core ( ) -> com ; } switch ( self :: configuration ( ) -> WsMethod ) { case 'SOAP' : self :: log ( ) -> deb ( 'Selected SOAP PHP Protocol for Communication' ) ; self :: core ( ) -> com = new \ Splash \ Components \ SOAP \ SOAPInterface ( ) ; break ; case 'NuSOAP' : default : self :: log ( ) -> deb ( 'Selected NuSOAP PHP Librarie for Communication' ) ; self :: core ( ) -> com = new \ Splash \ Components \ NuSOAP \ NuSOAPInterface ( ) ; break ; } return self :: core ( ) -> com ; }
Get a singleton Communication Class

@return CommunicationInterface
Get a singleton Communication Class