function __construct($posesFile, $grammemsFile, $ancodesFile, $flexiasFile, $prefixesFile, $lemmasFile, $isWriteHeader = true) { parent::__construct(); $this->poses_file = (string) $posesFile; $this->grammems_file = (string) $grammemsFile; $this->ancodes_file = (string) $ancodesFile; $this->flexias_file = (string) $flexiasFile; $this->prefixes_file = (string) $prefixesFile; $this->lemmas_file = (string) $lemmasFile; $this->is_write_header = (bool) $isWriteHeader; }
function __construct($outPath) { parent::__construct(); $this->path = $outPath; }
public function write(phpMorphy_Dict_Source_SourceInterface $source) { $result = $this->object->write($source); return $result === $this->object ? $this : $result; }