public function setVendorKey(string $vendor_key)
     {
         if (!nb_isValidKey($vendor_key)) {
             throw new ENabuProviderException(ENabuProviderException::ERROR_VENDOR_KEY_NOT_VALID, array($vendor_key));
         }
         $this->setValue(self::VENDOR_KEY, $vendor_key);

         try {
             $this->getComplexKey();
         } catch (ENabuProviderException $ex) {

         }

         return $this;
     }
public function setVendorKey(string $vendor_key)
     {
         if (!nb_isValidKey($vendor_key)) {
             throw new ENabuProviderException(ENabuProviderException::ERROR_VENDOR_KEY_NOT_VALID, array($vendor_key));
         }
         $this->setValue(self::VENDOR_KEY, $vendor_key);

         try {
             $this->getComplexKey();
         } catch (ENabuProviderException $ex) {

         }

         return $this;
     }
public function setVendorKey ( string $ vendor_key ) { if ( ! nb_isValidKey ( $ vendor_key ) ) { throw new ENabuProviderException ( ENabuProviderException :: ERROR_VENDOR_KEY_NOT_VALID , array ( $ vendor_key ) ) ; } $ this -> setValue ( self :: VENDOR_KEY , $ vendor_key ) ; try { $ this -> getComplexKey ( ) ; } catch ( ENabuProviderException $ ex ) { } return $ this ; }
Sets the vendor key
@param string $vendor_key New vendor key.
@return INabuProviderManager Returns manager instance to grant cascade calls.
@throws ENabuProviderException Raises an exception if $vendor_key have an invalid value.
Sets the vendor key