src/IntentAnalyticsModule.php
private function createVisitor()
    {
        $this->visitor = Yii::$container->get($this->modelMap['Visitor']['class']);
        $this->visitor->save();
        return $this->visitor;
    }
private function createVisitor()
    {
        $this->visitor = Yii::$container->get($this->modelMap['Visitor']['class']);
        $this->visitor->save();
        return $this->visitor;
    }
private function createVisitor ( ) { $ this -> visitor = Yii :: $ container -> get ( $ this -> modelMap [ 'Visitor' ] [ 'class' ] ) ; $ this -> visitor -> save ( ) ; return $ this -> visitor ; }
Create Visitor record

@return Visitor
@throws \yii\base\InvalidConfigException
Create Visitor record