i want make a static method like this:
Class MYClass{
    public static $text = 'apple';
    public static $text2 = ' & banana';
    public static function get($var){
        return static::$var;
    }
    public static function with($var){
        return static::$var;
    }
}
if i call :
$var = MYClass::get('text');
$var will be returned 'apple'
and if i call:
$var = MYClass::get('text')->with('text2');
$var will be returned 'apple & banana'
how to make that works?