streamFactory = $streamFactory; } public function newInstance(ParserPartProxy $parserProxy) { return new ParserPartStreamContainer($this->streamFactory, $parserProxy); } }