public function __construct(array $encodings = null) { if ($encodings !== null) { $this->encodings($encodings); } }