public function ParserBase::setEncoder in Feeds extensible parsers 8
Sets the encoder.
Parameters
\Drupal\feeds_ex\Encoder\EncoderInterface $encoder: The encoder.
Return value
$this The parser object.
File
- src/
Feeds/ Parser/ ParserBase.php, line 876
Class
- ParserBase
- The Feeds extensible parser.
Namespace
Drupal\feeds_ex\Feeds\ParserCode
public function setEncoder(EncoderInterface $encoder) {
$this->encoder = $encoder;
return $this;
}