/** * @param phpMorphy_MorphyInterface $morphy * @return phpMorphy_Dict_Source_Mutable */ protected function createMutableSource(phpMorphy_MorphyInterface $morphy) { $source = new phpMorphy_Dict_Source_Mutable(); $source->setLanguage($morphy->getLocale()); return $source; }