Пример #1
0
 /**
  * @param array|string $lexicalString
  * @param int $maxVariants
  * @param string $article
  * @return ArticleWord
  */
 public static function newFromLexicalString($lexicalString, $maxVariants = null, &$article = null)
 {
     /* @var ArticleWord $word */
     $word = parent::newFromLexicalString($lexicalString, $maxVariants);
     if ($article !== null) {
         $word->article =& $article;
     }
     return $word;
 }