lib/components/db/behaviors/Familiarity.php
public function afterInsert()
    {
        if ($this->user) {
            $familiarityClass = Yii::$app->classes['ObjectFamiliarity'];
            $familiarityClass::created($this->owner, $this->user);
        }
    }
public function afterInsert()
    {
        if ($this->user) {
            $familiarityClass = Yii::$app->classes['ObjectFamiliarity'];
            $familiarityClass::created($this->owner, $this->user);
        }
    }
[[@doctodo method_description:afterInsert]].