Example #1
0
 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}'");
 }
Example #2
0
 protected function createFsa(phpMorphy_Storage $storage, $lazy)
 {
     return phpMorphy_Fsa::create($storage, $lazy);
 }