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