示例#1
0
文件: fsa.php 项目: KANU82/mSearch2
 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}'");
 }
示例#2
0
 protected function createFsa(phpMorphy_Storage $storage, $lazy)
 {
     return phpMorphy_Fsa::create($storage, $lazy);
 }