public function __construct(Writer\WriterInterface $writer = null) { if (null !== $writer) { $this->addWriter($writer); } }