I have object or class.

class Class1{
public $language = "English";
public $languageru = "Russian";

public function composeValue(){
//return my value, or empty or "ru"
}
}

$class = new Class1();
$value = $class->composeValue();
// I want something like this
echo $class->language.$value
//But it is not working