function __construct($fileName, $encoding) { parent::__construct($this->createIterators($fileName, $encoding)); }
function __construct(Iterator $it, $encoding = null, $internalEncoding = 'UTF-8') { parent::__construct($it); $this->setEncoding($encoding); $this->setInternalEncoding($internalEncoding); }
function __construct($fileName, $encoding, phpMorphy_GramTab_GramInfoFactory $factory) { parent::__construct($this->createIterators($fileName, $encoding)); $this->factory = $factory; $this->encoding = $encoding; }