You are here

public function ChainEncoder::__construct in Zircon Profile 8

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

File

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

Class

ChainEncoder
Encoder delegating the decoding to a chain of encoders.

Namespace

Symfony\Component\Serializer\Encoder

Code

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