components/Interpreter.php
private function _createInterpretation($secondaryKey)
    {
        $model = new $this->viaModel;

        $model->{$this->relPrimaryKey} = $this->owner->primaryKey;
        $model->{$this->relSecondaryKey} = $secondaryKey;

        return $model;
    }
private function _createInterpretation($secondaryKey)
    {
        $model = new $this->viaModel;

        $model->{$this->relPrimaryKey} = $this->owner->primaryKey;
        $model->{$this->relSecondaryKey} = $secondaryKey;

        return $model;
    }
private function _createInterpretation ( $ secondaryKey ) { $ model = new $ this -> viaModel ; $ model -> { $ this -> relPrimaryKey } = $ this -> owner -> primaryKey ; $ model -> { $ this -> relSecondaryKey } = $ secondaryKey ; return $ model ; }
Creates new interpretation and assigns it with owner
@param \yii\db\ActiveRecord $secondary given secondary instance
Creates new interpretation and assigns it with owner