function __get($propName) { if ($propName == 'fsa') { $this->fsa = phpMorphy_Fsa::create($this->storage, false); unset($this->storage); return $this->fsa; } throw new phpMorphy_Exception("Unknown prop name '{$propName}'"); }
protected function createFsa(phpMorphy_Storage $storage, $lazy) { return phpMorphy_Fsa::create($storage, $lazy); }