Beispiel #1
0
 /**
  * このオブジェクトに指定された Codec を使って指定された値をデコードします.
  * 
  * @param  mixed $text デコード対象の値
  * @return mixed       変換結果
  */
 public function decode($text)
 {
     return $this->first->decode($this->second->decode($text));
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  */
 public function decode($json)
 {
     return $this->codec->decode($json);
 }
Beispiel #3
0
 /**
  * Function: decode
  *
  * Convert from the declared encoding to the internal encoding
  */
 function decode($encoding, $errors = false)
 {
     return Codec::decode($this, $encoding, $errors);
 }