You are here

public function ChainDecoder::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Encoder/ChainDecoder.php \Symfony\Component\Serializer\Encoder\ChainDecoder::__construct()

File

vendor/symfony/serializer/Encoder/ChainDecoder.php, line 28

Class

ChainDecoder
Decoder delegating the decoding to a chain of decoders.

Namespace

Symfony\Component\Serializer\Encoder

Code

public function __construct(array $decoders = array()) {
  $this->decoders = $decoders;
}