mirocow\eav\models\EavAttributeOption::getAttribute PHP Method

getAttribute() public method

public getAttribute ( $name = '' ) : ActiveQuery
return yii\db\ActiveQuery
    public function getAttribute($name = '')
    {
        return $this->hasOne(EavAttribute::className(), ['id' => 'attributeId']);
    }