json_serialize( $object ) ); } /** * Encode a sync object. * * @access public * * @param string $input Encoded sync object to decode. * @return mixed Decoded sync object. */ public function decode( $input ) { // This is intentionally using base64_decode(). // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode return $this->json_unserialize( base64_decode( $input ) ); } }